Podcast
Questions and Answers
Which keyword is used to make a decision in C language?
Which keyword is used to make a decision in C language?
- if (correct)
- then
- switch
- else
What is the purpose of 'else' in a conditional statement in C language?
What is the purpose of 'else' in a conditional statement in C language?
- To indicate the end of a conditional block
- To execute a block of code repeatedly
- To provide an alternative action when the 'if' condition is false (correct)
- To check for multiple conditions
Which of the following is used to handle multiple conditions in C language?
Which of the following is used to handle multiple conditions in C language?
- else if
- switch (correct)
- elif
- case
Flashcards are hidden until you start studying