# 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 |
difference between the array and linked list general difference related to memory
Why doesn't C support function overloading?
errors in computer programmes are called
How do you define CONSTANT in C?
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?
How can you determine the maximum value that a numeric variable can hold?
what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }
Define and explain about ! Operator?
why Language C is plateform dependent
program for reversing a selected line word by word when multiple lines are given without using strrev
Is return a keyword in c?
what does " calloc" do?