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
What is the difference between scanf and fscanf?
Do you know the purpose of 'register' keyword?
Are there any problems with performing mathematical operations on different variable types?
What are different types of variables in c?
What is equivalent to ++i+++j?
Write a code of a general series where the next element is the sum of last k terms.
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 ?
Where static variables are stored in memory in c?
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
How do shell structures work?
Write a code to generate a series where the next element is the sum of last k terms.
Why we use int main and void main?
What is pass by value in c?
Can 'this' pointer by used in the constructor?
Why main is not a keyword in c?