4)What would be the output?
main()
{
int num=425;
pf("%d",pf("%d",num));
}
a)Comp error
b)4425
c)4253
d)3435
e)none
Answer Posted / aswini
see.printf is a function that returns number.hence it will
return 3.then as there is a %d it will return the number in
its locality.hence it will return 425.
so the answer is 4253....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Why header files are used?
What is the use of a semicolon (;) at the end of every program statement?
Why is void main used?
What is keyword in c?
What are the types of c language?
all c language question
Are c and c++ the same?
Is there anything like an ifdef for typedefs?
Why #include is used in c language?
State two uses of pointers in C?
What is the difference between typedef and #define?
Explain what does a function declared as pascal do differently?
How do you declare a variable that will hold string values?
Can we declare function inside main?