# 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 |
What is meant by int main ()?
How do you determine if a string is a palindrome?
without using arithmatic operator convert an intger variable x into x+1
What is structure in c definition?
What is c system32 taskhostw exe?
How can I read and write comma-delimited text?
What does c in a circle mean?
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
every function has return the value?
Is it possible to create recycle bin in mobiles?
What is a rvalue?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above