0
What is the output of the following C program?
#include <stdio.h>
int main() {
int a = 5;
int b = a++ + 10;
int c = ++a * 2;
printf("%d %d %d", a, b, c);
return 0;
}- A6 15 12
- B7 16 14
- C7 15 14
- D7 15 12
Correct answer: C
What is the output of the following C program?
#include <stdio.h>
int main() {
int a = 5;
int b = a++ + 10;
int c = ++a * 2;
printf("%d %d %d", a, b, c);
return 0;
}