Which of the following is an invalid if-else statement?

C/C - Online Exam Test Papers | C/C - MCQs[multiple choice questions and answers ] | C/C - Mock Test Papers | C/C - Practice Papers | C/C - Sample Test Papers |

Question:
Which of the following is an invalid if-else statement?

1.if (if (a == 1)){}

2. if (func1 (a)){}

3.if (a){}

4.if ((char) a){}

Posted Date:-2021-02-20 21:39:28


More MCQS Questions and answers