Question
What is the output of this C code?
  int main()
  {
    int x = 0;
    if (x == 1)
      if (x >= 0)
        printf("true\n");
      else
        printf("false\n");
  }
Answer: Option D
Was this answer helpful ?
none
Was this answer helpful ?
More Questions on This Topic :
Question 1. if (a == 1||b == 2){} can be written as: ....
Question 5. Example of iteration in C. ....
Submit Solution