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.

Answers were Sorted based on User's Feedback



helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f a..

Answer / fazlur rahamn naik

Printf is nothing but to display the output on to the
screen.

Scanf is used to read data from the user/keyboard.

%d is a format used for integer.

%f is a fromat used for float.

Is This Answer Correct ?    13 Yes 1 No

helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f a..

Answer / guest

In c, to get and to print the reqired information we use
the function printf()
and the scanf() function is used for inputting the data int
the variables declared before.
and %d character is used to display the integer type
variables in the o/p
and the %f character is used to print the float type
variables int hte o/p.

Is This Answer Correct ?    5 Yes 0 No

helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f a..

Answer / 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

More C Interview Questions

If I have a char * variable pointing to the name of a function ..

0 Answers  


main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?

7 Answers   Ramco,


what is the full form of c language

9 Answers   Satyam, TCS, VNC,


which is faster execution: loops or recursion?

3 Answers  


What is #include called?

0 Answers  


Difference between Function to pointer and pointer to function

0 Answers  


Can we include one C program into another C program if yes how?

7 Answers   Infosys,


wap in c to accept a number display the total count of digit

4 Answers  


Explain what are the different file extensions involved when programming in c?

0 Answers  


What is the easiest sorting method to use?

0 Answers  


What is the difference between malloc() and calloc() function in c language?

0 Answers  


write a program in c to read array check element is present or not?

1 Answers  


Categories