Multiple choice

What will be output of the code if all other terms are assumed correct in C language? int age=17; (age>=18)? printf( I can vote.) : printf( I cannot vote.);

  1. Incorrect code

  2. Incorrect operator used

  3. I can vote

  4. I cannot vote

  5. No output

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Age assigned with 17 hence,  the condition is not satisfied and second part is correct output.