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


Please Help Members By Posting Answers For Below Questions

Where are some collections of useful code fragments and examples?

725


How can I read/write structures from/to data files?

558


Can the “if” function be used in comparing strings?

608


Why is %d used in c?

574


Is array name a pointer?

615






What are the valid places to have keyword “break”?

659


Are enumerations really portable?

602


Difference between Shallow copy and Deep copy?

1584


When should the volatile modifier be used?

694


What are enumerated types?

663


Can we increase size of array in c?

552


Explain enumerated types.

609


How many levels of pointers can you have?

715


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

769


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

1810