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
What are the similarities between c and c++?
What are 3 types of structures?
Can include files be nested?
what is event driven software and what is procedural driven software?
Dont ansi function prototypes render lint obsolete?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Why pointers are used in c?
What are different types of variables in c?
Why we use void main in c?
What is the best style for code layout in c?
How can I write a function analogous to scanf?
When should a type cast be used?
How do you convert strings to numbers in C?
What is the auto keyword good for?