Single Choice Not Set

QWhat will be the output?

#include <stdio.h>
void main()
{
int z, x=5, y= -10, a=4, b=2;
z = x++ - --y*b/a;
printf("%d", z);
}

ID: #1184 Operators and Enums in C Language 1,866 views
Question Info
#1184Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 6
  • B 7
  • C 8
  • D 10
Correct Answer

Explanation

Option D

Share This Question

Challenge a friend or share with your study group.