In A decrementing loop the starting number is greater than the .........number
Answers
Answered by
2
Answer:
Below is a example code block will print the values from 10 to 1. If you need just to print the value and no need to do any calculation, then this simple 1 line for loop is enough. And no need for any curly braces.
Please note : In the printf() function itself the value of the "iCount" decreased.
In the below program, the header file stdio.h used. This header file is having the function printf(). %d in the first argument of the printf() function will replaced by the value of iCount (that is the value of int iCount).
iCount-- in the printf() function meaning : The value of the iCount will be passed to the function first, then the decrement will happen.
Similar questions
English,
3 months ago
Math,
3 months ago
India Languages,
7 months ago
Accountancy,
11 months ago
Math,
11 months ago