Home / MCQ Bank / Computer
Computer Control Flow Statements In C Plus Plus

What is the purpose of the 'else' statement in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Executes when the 'if' condition is false

Related Computer Questions

In which type of binary tree is every node with two children in the internal node? The earliest device that qualifies as a digital computer is Which is not a valid file system? If the processor of a computer does not have a direct and unassisted access to data items, these items are said to be What will be the output of the following C code? #include <stdio.h> int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); }