Top

Discussion

Point out the error, if any in the program.

#include 
int main()
{
    int a = 10, b;
    a >=5 ? b=100: b=200;
    printf("%d\n", b);
    return 0;
}

 

  • A.100
  • B.200
  • C.Error: L value required for b
  • D.Garbage value

Answer: C

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment