Displaying Variables of type int with printf() - C Language Basics

C examples for Language Basics:Hello World

Description

Displaying Variables of type int with printf()

Demo Code

#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;
}

Related Tutorials