Computer Science, asked by ashwinaswarnimkujur, 6 days ago

int c= (3<4)? 3*4:4+3; explain​

Answers

Answered by Samipyo
1

Answer:

12

Explanation:

this statement if written in if-else form will look like:

if(3<4)

int c=3*4;

else

int c= 4+3;

since the condition is true,

the output is 12

Similar questions