Answer Posted / dev yadav
in for loop we should know initial &last condition.....but in while loop we only know the last condition....
ex. of for loop..for(i=0;i<=10;i++){
printf("%d",i);
}
ex. of while loop..while(i<=10){
printf("%d",i);
i++;
}
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
How many keywords (reserve words) are in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
How can I discover how many arguments a function was actually called with?
Explain is it valid to address one element beyond the end of an array?
Do string constants represent numerical values?
What is #define size in c?
What are the advantages of the functions?
What do you mean by dynamic memory allocation in c?
What are types of structure?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Can the size of an array be declared at runtime?
which is an algorithm for sorting in a growing Lexicographic order
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
List a few unconditional control statement in c.
How many parameters should a function have?