Top

Discussion

What is the final value of j in the below code?

int main()
    {
        int i = 0, j = 0;
        if (i && (j = i + 10))
            //do something
            ;
    }

 

  • A.10
  • B.Depends on the compiler
  • C.Depends on language standard

Answer:

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

Post your comment