Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Program to understand the Arithmetic Operators

#include<stdio.h>
int main()

{

int i;

i = 5;


printf("The Value of i is : %d", i);

i = i  + 5;


printf("\nThe Value of i is : %d", i);

i = i - 2;


printf("\nThe Value of i is : %d", i);

i = i  * 2;


printf("\nThe Value of i is : %d", i);

i = i / 4;


printf("\nThe Value of i is : %d", i);

i++;


printf("\nThe Value of i is : %d", i);

i++;


printf("\nThe Value of i is : %d", i);

i --;


printf("\nThe Value of i is : %d", i);

getchar();
return (0) ;
}

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.