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 |
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
What are the back slash character constants or escape sequence charactersavailable in c?
What does %c mean in c?
How is a structure member accessed?
Write a function in c to find the area of a triangle whose length of three sides is given.
what is the use of fflush() function?
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 sorting in c plus plus?
Can include files be nested? How many levels deep can include files be nested?
implement general tree using link list
what is the defrenece between structure and union
How can I find the modification date and time of a file?