Sunday, August 13, 2023

NPTEL » Problem Solving Through Programming In C Week-4 Quiz Solution

 


Week 4 : Assignment 4


1 point
What is the purpose of the "if-else" statement in C?
 
 
 
 
1 point
What is the correct syntax for an "if-else" statement in C?
 
 
 
 
1 point
Which of the following is true about nested "if-else" statements?
 
 
 
 
1 point
What happens if there is no "else" part in an "if-else" statement?
 
 
 
 
1 point
Which of the following operators can be used to combine multiple conditions in an "if" statement?
 
 
 
 
1 point
 
 
 
 
1 point
If multiple conditions are used in a single "if" statement then the testing of those conditions are done
 
 
 
 
1 point
 
 
 
 
1 point
 
 
 
 
1 point
 
 
 
 

No comments:

Post a Comment