C Programming2081.210 marksOdd loops
Define odd loop. What do you mean by goto and label? Write a program to generate the following pattern. ``` 1 2 2 3 3 3 4 4 4 4 ```
Define odd loop. What do you mean by goto and label? Write a program to generate the following pattern.
1
2 2
3 3 3
4 4 4 4
[10]
--- An odd loop is a loop in which the number of iterations is not known in advance at compile time. The loop continues or terminates based on a condition that is evaluated at runtime, often depending on user input or some external event. Key Characteristics: - The exact number of repetitions is ...