C examples for Language Basics:Hello World
Displaying Variables of type int with printf()
#include <stdio.h> int main (void) { int sum;//www.j a v a 2 s . com sum = 50 + 25; printf ("The sum of 50 and 25 is %i\n", sum); return 0; }