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
How can I ensure that integer arithmetic doesnt overflow?
Explain how do you print only part of a string?
What are header files and what are its uses in C programming?
Explain what is dynamic data structure?
Write a factorial program using C.
Explain zero based addressing.
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is a constant and types of constants in c?
What are file streams?
What is c++ used for today?
What is function in c with example?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Why can’t we compare structures?
What is the use of static variable in c?
what are the different storage classes in c?