# 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 |
write a program of palindrome(madam=madam) using pointer?
What is c token?
Is c an object oriented programming language?
tell me the full form of c?
What is new line escape sequence?
What is an auto variable in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What tq means in chat?
what is the difference between c and java?
What is the function of volatile in c language?
What is encapsulation?
what is diffrence between string and character array?