what is the output?
#define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t)
float gfloat;
main()
{
float a=1.12,b=3.14;
fun (a,b,float);
printf("na=%4.2f,b=%4.2f",a,b);
}
A)Error in Defining Macro
B)a=1.12,b=3.14
C)a=3.14,b=1.12
D)None of the Above
Answer Posted / santhoo035
a=3.14,b=1.12
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain threaded binary trees?
Why clrscr is used in c?
What are runtime error?
What are structural members?
What is difference between union and structure in c?
What is the 'named constructor idiom'?
Why does notstrcat(string, "!");Work?
Tell me when is a void pointer used?
What is a loop?
c language interview questions & answer
What is strcpy() function?
What is "Hungarian Notation"?
What is scope rule of function in c?
What is a void * in c?
How can I read in an object file and jump to locations in it?