Short question based on c loops 1. What will be the output of the following code? options : a) 5 5 b) syntax error c)… Read More »
Below are some interesting facts about C programming: 1) The case labels of a switch statement can occur inside if-else statements. Output : GeeksforGeeks 2)… Read More »
Prerequisite – Switch Statement in C Switch is a control statement that allows a value to change control of execution.
In C switch statement, the expression of each case label must be an integer constant expression.
Which of the following two code segments is faster? Assume that compiler makes no optimizations.
Question: Is there any example for which the following two loops will not work same way?