MCQ Single Best Answer Not Set

QWhat is the output of this C code?

#include<stdio.h> 
int main()
    {
        int x = 2, y = 2;
        x /= x / y;
        printf("%d\n", x);
        return 0;
    }

ID: #1207 Operators and Enums in C Language 592 views
Question Info
#1207Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 1
  • B 2
  • C 0.5
  • D 11
Correct Answer: Option B

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.