Mention the four important part of looping.
Explain in detail the four important part of looping in detail with explain.
- 3416 Views
- 1 Answers
1 Answers
-
-
- 02 Apr
- 0 Comment
-
- What is the eligibility criteria for cracking the C Progamming Exam 2018?
- can u define type of pointer ??
- What are preprocessor directives in c language?
- What is C language?
- Explain the difference between while loop and do-while loop.
- How to dynamically allocate a 2D array in C?
- Write a program to calculate the following series:
- What are jump statements in c language?
- What is the difference between C and C++?
- What are storage classes in C language?
Practice Mock Test
c programming
The four important type of loop is :br /The setup: Usually the setup involves declaring and initializing an incrementvariable. This generally occurs immediately before the while.br /The test expression: The expression within the while loop that will cause the program to either execute the loop or exit and continue on. This always occurs within the parentheses following the keyword while.br /The body: This is the code within the braces.br /The increment: This is where the increment variable is incremented. This usually occurs at the end of the body.