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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ar ind,faisal,jitendra
4253 bcoz printf always return no of chracters inside its()
so it become 4253
Is This Answer Correct ? | 2 Yes | 0 No |
Which programming language is best for getting job 2020?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What is #ifdef ? What is its application?
which one is better structure or union?(other than the space occupied )
What is methods in c?
how to generate sparse matrix in c
actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
What is a const pointer in c?
the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789
What is operator precedence?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]