Difference between for loop and while loop?
Answer / 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 |
How can I remove the trailing spaces from a string?
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
What is a far pointer in c?
What is the difference between class and object in c?
How can I do peek and poke in c?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What is the memory allocated by the following definition ? int (*x)();
What is the relationship between pointers and data structure?
What is C language ?
What is a shell structure examples?
What are unions in c?
#include<stdio.h> main() { int i=5; printf("%d",i*i-- - --i*i*i++ + ++i); } tell the answer with correct reason .specially reason is important nt answer ans by turbo c is -39