Mention the four important part of looping.
Explain in detail the four important part of looping in detail with explain.
- 3431 Views
- 1 Answers
1 Answers
-
-
- 02 Apr
- 0 Comment
-
- What are preprocessor directives in c language?
- How will you print “Hello World” without semicolon?
- Short circuit logical operators used in C language.
- What is C used for? Explain your answer
- Программы и игры для Андроид телефона
- How will you print numbers from 1 to 100 without using loop?
- Explain the difference between while loop and do-while loop.
- What is C programing? Explain your answer
- Can someone explain the concept of pre and post increment in C?
- What is the difference between return 0 and return 1?
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.