What is the output? printf - C Language Basics

C examples for Language Basics:printf

Description

What is the output? printf

Demo Code

#include <stdio.h> 
int main()/* ww w.  ja v a 2  s .c o m*/
{ 
   int x = 0; 
   printf("\nThe value of x is %d\n", x); 
   x++; 
   printf("\nThe value of x is %d\n", x); 
}

Result


Related Tutorials