Explain working of printf?

Answers were Sorted based on User's Feedback



Explain working of printf?..

Answer / kishore

Printf is a Variadic function. Variadic functions are
functions which may take a variable number of arguments and
are declared with an ellipsis in place of the last
parameter.
int printf(char *, ...);
Uses Var_args to know the variables in the ...
In C these are defined in stdarg.h
Refer to this link http://en.wikipedia.org/wiki/Stdarg.h

Is This Answer Correct ?    24 Yes 1 No

Explain working of printf?..

Answer / ilakya.g

It is used to print the statement within the codes of
printf statement.

Is This Answer Correct ?    24 Yes 6 No

Explain working of printf?..

Answer / karan sahu

printf is a library function which printed formatted output....

Is This Answer Correct ?    4 Yes 1 No

Explain working of printf?..

Answer / sanjith

ths stmt is used to print a output value

Is This Answer Correct ?    8 Yes 6 No

Explain working of printf?..

Answer / kamikaze

Printf is a std lib func. It prints everything in the
Inverted commas until a format specifier or a escape
sequence is encountered.

Is This Answer Correct ?    7 Yes 6 No

Explain working of printf?..

Answer / mony

printf are inbuilt functions and it is used to get output

Is This Answer Correct ?    0 Yes 0 No

Explain working of printf?..

Answer / hyrish

The function printf
is defined by stdio.h
header file. It is
the most commenly
used output stement
in c language.

Is This Answer Correct ?    1 Yes 2 No

Explain working of printf?..

Answer / p.madhupriya

printf is using to print the statement only.

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More C++ General Interview Questions

what is VOID?

0 Answers  


What are advantages of c++?

0 Answers  


Can I learn c++ in a week?

0 Answers  


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

0 Answers  


Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.

4 Answers   Quark,






What is the array and initializing arrays in c++?

0 Answers  


What would happen on forgetting [], while deallocating an array through new?

0 Answers  


how to create window program in c++.please explain.

1 Answers   Microsoft,


What is setbase c++?

0 Answers  


How do I get good at c++ programming?

0 Answers  


Which is better c++ or java?

0 Answers  


What are the types of pointer?

0 Answers  


Categories