Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how does printf function work

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


Please Help Members By Posting Answers For Below Questions

why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

1102


What is %lu in c?

1194


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1283


What is the scope of local variable in c?

1058


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2043


What is a far pointer in c?

997


Write a program to find factorial of a number using recursive function.

1075


Explain union. What are its advantages?

1018


diff between exptected result and requirement?

2002


Why is c called c?

973


Explain how do you search data in a data file using random access method?

1083


What does the error 'Null Pointer Assignment' mean and what causes this error?

1183


Why doesnt this code work?

1014


what is the significance of static storage class specifier?

2196


What are the types of bitwise operator?

1057