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
What are called c variables?
How can I list all of the predefined identifiers?
Is there sort function in c?
What is define directive?
What is a stream?
Explain function?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Is null a keyword in c?
What is 2c dna?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Can true be a variable name in c?
What does the && operator do in a program code?
What is difference between structure and union in c?