# 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
Answer Posted / 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 |
Post New Answer View All Answers
what is the role you expect in software industry?
number of times a digit is present in a number
How can you allocate arrays or structures bigger than 64K?
What is sorting in c plus plus?
Does c have enums?
What are data types in c language?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
Explain the array representation of a binary tree in C.
What is operator promotion?
What are the different file extensions involved when programming in C?
What is the deal on sprintf_s return value?
What is a string?
What is gets() function?
What is the method to save data in stack data structure type?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?