search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
68 views
asked Guru 27.1k points 31 50 97

1 Answer

0 votes
The while and for loops are used to execute those units of code that need to be repeatedly executed, unless the result of the specified condition evaluates to false. The only difference between the two is in their syntax. The for loop is distinguished by setting an explicit loop variable.
 
answered Guru 24.6k points 29 52 81

Related questions

0 votes
1 answer 391 views
391 views
asked shivani Sr Member 1.1k points 13 27 42
0 votes
1 answer 140 views
140 views
What is the difference between const and readonly and do you use one over the other?
asked shivani Sr Member 1.1k points 13 27 42
0 votes
1 answer 26 views
26 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 23 views
23 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 85 views
85 views
what is the best logging solution for a C# .net35 project? For an ASP.NET (probably MVC) enterprise applicaiton, which tool is most appropriate based on your experience?
asked arnav Sr Member 1.3k points 9 21 28
...