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
How can I find out the size of a file, prior to reading it in?
int i=10; printf("%d %d %d", i, i=20, i);
What is spaghetti programming?
What are the 32 keywords in c?
What is printf () in c?
How can a string be converted to a number?
Why is c used in embedded systems?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Wt are the Buses in C Language
How will you delete a node in DLL?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is output redirection?
What is use of integral promotions in c?
What is non linear data structure in c?
What are local static variables? How can you use them?