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 / deepa
option c
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where are some collections of useful code fragments and examples?
How can I read/write structures from/to data files?
Can the “if” function be used in comparing strings?
Why is %d used in c?
Is array name a pointer?
What are the valid places to have keyword “break”?
Are enumerations really portable?
Difference between Shallow copy and Deep copy?
When should the volatile modifier be used?
What are enumerated types?
Can we increase size of array in c?
Explain enumerated types.
How many levels of pointers can you have?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
how to write a c program to print list of fruits in alpabetical order?