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...

helllo sir
give me some information of the basic information the
c as printf ,scanf , %d ,%f and why is the main use of
these.

Answer Posted / vignesh1988i

printf();
printf is an in built function which is used as a output
statement........
SYNTAX:
printf("format string ",<list of variables>);
whenever we want to display messages to the user at run time
as well as the output we use printf statement.....

scanf();
this is the input statement... whenever we want to perform
some task using a system we must give input to it... in C
this is done using scanf() function.....
SYNTAX:
scanf("format string",<&variables>);

FORMAT SPECIFERS:
%d is used to print only integer constant formatted output
%f is used to print only real constant numbers output
%c is used to print only a character constant output

these format specifers and all will be stored in the LOOK UP
table in the compailer... when these dosen't match wit that
table . it gives a error


thank you

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable declaration and definition in c?

859


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1884


What is a 'null pointer assignment' error?

1164


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

1071


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

2409


write a program for the normal snake games find in most of the mobiles.

2219


How can I send mail from within a c program?

987


What is difference between function overloading and operator overloading?

1048


What is sizeof return in c?

988


What is the meaning of && in c?

964


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1630


How do you use a 'Local Block'?

1122


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

980


What is the scope of static variable in c?

946


Explain the difference between the local variable and global variable in c?

1028