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

What are the types of assignment statements?

1067


List the difference between a "copy constructor" and a "assignment operator"?

1019


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1075


Explain a file operation in C with an example.

1121


what are non standard function in c

1916


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2255


How can I insert or delete a line (or record) in the middle of a file?

1022


What is the use of sizeof () in c?

1059


How is a null pointer different from a dangling pointer?

1033


What is exit() function?

1024


What is hash table in c?

1025


what is the basis for selection of arrays or pointers as data structure in a program

4309


i want to know the procedure of qualcomm for getting a job through offcampus

2471


p*=(++q)++*--p when p=q=1 while(q<=6)

1763


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6876