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
What tq means in chat?
I need previous papers of CSC.......plz help out by posting them.......
What are header files in c programming?
What are the different categories of functions in c?
can any one tel me wt is the question pattern for NIC exam
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
what is the significance of static storage class specifier?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is use of bit field?
What is the advantage of a random access file?
How can you allocate arrays or structures bigger than 64K?
What are pointers? Why are they used?
Write the control statements in C language
What is the use of clrscr?
What is a buffer in c?