Standard Input/output Functions in C
Standard input/output functions 1. character based functions 1.getchar() 2.getche() 3.getch() 4.gets(char*) 5.putchar(char) 6.puts(char*) 2. format based function scanf() - for accept printf() - for display 1. format specifier 2. address of variable In case printf there is no fixed number of argument printf("hello") int n1=5,n2=10 Sum of 5 and 10 is 15 printf("Sum of %d and %d is %d",n1,n2,n1+n2) to disy n values the number of argument is n+1
Comments
Post a Comment