/*
* Printf.c
*printf return the number of characters which is to be displayed in the console window.
* Created on: Sep 26, 2010
* Author: Karthikeyan.D
*/
# include <stdio.h>
int main()
{
int nCount=0;
nCount = printf("Hello India\n");
printf("%d",nCount);
return 0;
}
OUTPUT:
Hello World
12
Note: \n consider as a escape sequence and also number of character count for this is only one. not two.
Showing posts with label Printf Concept. Show all posts
Showing posts with label Printf Concept. Show all posts
Sunday, September 26, 2010
Printf Concept
Subscribe to:
Posts (Atom)