answersLogoWhite

0


Best Answer

The value of count should be more than max range of the for-loop.

e.g.

for (index=0;index<n;index++) ....In this case the count (i.e. index) would be more than "n" which is max-range.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the value of count after execution of the for-loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can break statement used in the forloop?

Sure. (You could have tried it yourself.)


What is forloop?

For loop is utilize to do any specific work for specific number of times For example to print hello on computer screen 10 time we use For (start = 1; end = 10; start++) count&lt;&lt;"hello"; next


What constant is in c?

constant is a fixed value that do not changed during execution constant is a fixed value that do not changed during execution


What is the value of an original photo of Mussolini's execution?

value of mussolinis war photos


Difference between numeric constants and numeric variables in qbasic?

A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...


How can you write a c program using while loop that will print first ten odd numbers?

#include&lt;stdio.h&gt; int main () { int odd=1; int count=0; while (count++&lt;10) { printf (%d\n", odd); odd+=2; } return 0; }


Write a pseudocode statement that assigns the value 27 to the variable count?

count := 27


How do you write an if-else statement that increments the value of count by 1 if the value of total is evenly divisible by four or five and increments the value of count by 2 otherwise?

Here's a code snippet that solves that problem. if((total%5==0) (total%4==0)) { count += 1; } else { count += 2; }


WHAT IS THE name that represents a value that cannot be changed during the program's executiON?

A Name Constant


What is the zero value in quantity surveying?

Difference between BOQ cost and actual cost (after execution)


How do you calculate on an abacus?

count each place value


What is least count?

Smallest value of a physical quantity which can be measured accurately by an instrument is called least count