Single Choice
Not Set
QWhat is the difference between the following 2 codes?
//Program 1
int main()
{
int d, a = 1, b = 2;
d = a++ + ++b;
printf("%d %d %d", d, a, b);
}
//Program 2
int main()
{
int d, a = 1, b = 2;
d = a++ + ++b;
printf("%d %d %d", d, a, b);
}
ID: #1227
Operators and Enums in C Language
5,137 views
Question Info
#1227Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Option A
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic