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


Please Help Members By Posting Answers For Below Questions

What does %c mean in c?

654


how to write a c program to print list of fruits in alpabetical order?

1792


Explain what is the benefit of using enum to declare a constant?

589


Describe the order of precedence with regards to operators in C.

634


Explain what are the advantages and disadvantages of a heap?

598






Are pointers really faster than arrays?

567


How reliable are floating-point comparisons?

631


How do you determine a file’s attributes?

603


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

595


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

649


What is the c language function prototype?

647


What is the use of static variable in c?

596


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1122


What is the size of structure in c?

703


Explain what is #line used for?

609