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

What is the difference between scanf and fscanf?

669


Do you know the purpose of 'register' keyword?

646


Are there any problems with performing mathematical operations on different variable types?

577


What are different types of variables in c?

573


What is equivalent to ++i+++j?

648






Write a code of a general series where the next element is the sum of last k terms.

598


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

805


Where static variables are stored in memory in c?

527


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

669


How do shell structures work?

574


Write a code to generate a series where the next element is the sum of last k terms.

742


Why we use int main and void main?

541


What is pass by value in c?

600


Can 'this' pointer by used in the constructor?

617


Why main is not a keyword in c?

652