Answer Posted / vignesh1988i
1)printf() is a built in library function which is defined
in <stdio.h> header file...
2) in printf(); function we can pass
1) entire string within "...." like :
eg: printf("my name is vignesh");
2) string with list of variables like :
eg: printf("%d%d" , i,j);
| |
first second
argument argument
3) like every function returns a value , PRINTF returns the
no. of characters which is inside "...".
eg: printf("%d",printf("hai how are u?"));
the output will be 14.....
4) printf() function is having direct contact with VDU
(video display unit) in the system..... so only it is
displayin every thing in the screen...........
thank u
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What are pointers? What are different types of pointers?
What is masking?
Disadvantages of C language.
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
How can I find the modification date of a file?
write a c program to find the sum of five entered numbers using an array named number
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is meant by 'bit masking'?
What is the use of parallelize in spark?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the purpose of clrscr () printf () and getch ()?
How does #define work?
What is the purpose of scanf() and printf() functions?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?