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