# define prod(a,b)=a*b
main()
{
int x=2;
int y=3;
printf("%d",prod(x+2,y-10)); }
the output of the program is
a.8
b.6
c.7
d.none
Answers were Sorted based on User's Feedback
Answer / arun raj
It will lead to compilation error..
Note: # define prod(a,b)=a*b
'=' is not allowed with #define
regards,
Arun Raj
Is This Answer Correct ? | 19 Yes | 1 No |
Answer / sivasyam
with out using conditional opraters and conditional
statments(i.e &,| etc, and if,whileand etc.,) find the
bigeesst value between two values
Is This Answer Correct ? | 2 Yes | 1 No |
where do we use volatile keyword?
What is the scope of static variables in c language?
Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.
What are header files in c?
write a program to print calender using for loop.
Will Macros support multiple arguments ?
what is data structure.in linear and non linear data structures which one is better?Explain
Why string is used in c?
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
what is use of loop?
Explain what is output redirection?
What do you mean by a sequential access file?