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 does %c mean in c?
how to write a c program to print list of fruits in alpabetical order?
Explain what is the benefit of using enum to declare a constant?
Describe the order of precedence with regards to operators in C.
Explain what are the advantages and disadvantages of a heap?
Are pointers really faster than arrays?
How reliable are floating-point comparisons?
How do you determine a file’s attributes?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is the c language function prototype?
What is the use of static variable in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is the size of structure in c?
Explain what is #line used for?