निम्नलिखित कार्यक्रम का आउटपुट क्या है?
What is the output of the following program ?
for( ; ; )
{
Statements
}
A)
B)
C)
D)
Explanation:
The given for
loop has no condition, so it runs indefinitely. This creates an infinite loop, where the statements inside the loop will execute forever.
Output: (D) Both (B) and (C).