Computer Science, asked by madhurishivva, 5 months ago

7. What is the Output of this C-Code
# include <stdio.h>
#define A
1+2
#define B 3+4
int main
{
int C = A*B
printf("\n%d",c);

Answers

Answered by gantyadabhuvaneswari
0

Answer:

11

Explanation:

a is replaced with 1+2

b is replaced with 3+4

c=1+2*3+4

* has high precedence so

2*3=6

6+1+4=11

Similar questions