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
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
If fflush wont work, what can I use to flush input?
What are c preprocessors?
Dont ansi function prototypes render lint obsolete?
If I have a char * variable pointing to the name of a function ..
What is define c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
what are enumerations in C
Tell us something about keyword 'auto'.
What is define directive?
How arrays can be passed to a user defined function
How do you write a program which produces its own source code as output?
What is huge pointer in c?