# 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 / hussain reddy
d
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What are global variables and explain how do you declare them?
What is spark map function?
What is meant by type specifiers?
write a program to display all prime numbers
Explain how can I make sure that my program is the only one accessing a file?
Write a program to check armstrong number in c?
Why is a semicolon (;) put at the end of every program statement?
What are the features of c language?
Explain what are global variables and explain how do you declare them?
What does & mean in scanf?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
how to create duplicate link list using C???
What is the use of #define preprocessor in c?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)