C program to perform the arithmetic operations
Algorithm
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to perform arithmetic operations ——————————————————————————————————————————— Value of a | 0 Value of b | 1 Value of 0/1 | 0 Value of 0+1 | 1 Value of 0-1 | -1 Value of 0*1 | 0 Value of a++ | 0 Value of ++a | 2 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to perform the boolean operations
C program to perform the relational operations
C program to perform the arithmetic operations by accepting the inputs
Advertisement