Industrial Engineer Information Processing

Industrial Engineer Information Processing (정보처리산업기사, South Korea)

Programming Language UtilizationEnglish
Exam overview

Practice session

What is the printed output of the following C program containing prefix and postfix increment operators? #include <stdio.h> int main() { int a = 5; int b = ++a * 2; int c = a++ + 3; printf("%d %d %d\n", a, b, c); return 0; }

Loading your practice session…