C language Addition of Static value program

// simple addition of static value #include<stdio.h> int main() { int a=12,b=4,c; c=a+b; printf("c=%d",c); return 0; }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE. ADD stdio.h beside #include as shown in the below image, otherwise program will not work

How " simple addition of static value " program works? The #include is a preprocessor command that tells the compiler to include the contents of stdio.h (standard input and output) file in the program. The stdio.h file contains functions such as scanf() and printf() to take input and display output respectively. We have consider a,b,c as 3 different variables. we assigned the static values to a and b where c is the sum of a and b. The return 0; statement is the "Exit status" of the program. In a similar way by changing the operator we can perform subtraction(-),multiplication(*) and division(/) also..