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
Explain what are header files and explain what are its uses in c programming?
What are the types of operators in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is the use of pragma in embedded c?
What is the value of h?
What does == mean in texting?
what is uses of .net
Is array name a pointer?
write a program to find out prime number using sieve case?
What are the benefits of c language?
What is type qualifiers?
Wt are the Buses in C Language
How do you initialize pointer variables?
What are keywords in c with examples?