1. Are the following two statement same?

1. a <= 20 ? (b = 30): (c = 30);
2. (a <=20) ? b : (c = 30);

A. Yes
B. No


Correct Answer: B. No

2. Two different operators would always have different Associativity.

A. Yes
B. No


Correct Answer: B. No

3. Will the expression *p = p be disallowed by the compiler?

A. Yes
B. No


Correct Answer: B. No

4. Every operator has an Associativity

A. Yes
B. No


Correct Answer: A. Yes

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    seventeen + 6 =