What will be the output of the following C code?
#include <stdio.h>
void main()
{
int b = 6;
int c = 7;
int a = ++b + c--;
printf("%d", a);
}
#include <stdio.h>
void main()
{
int b = 6;
int c = 7;
int a = ++b + c--;
printf("%d", a);
}
A. Run time error
B. 15
C. 13
D. 14
Answer: Option D
Join The Discussion