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 get the output 54321 4321 321 21 1 in c programming........???? pls help......
What does the file stdio.h contain?
Describe newline escape sequence with a sample program?
write a program to delete an item from a particular location of an linear array?
List the variables are used for writing doubly linked list program.
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
what is linkage error when it occurs in c program
Do variables need to be initialized?
Is c procedural or functional?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Determine the result of performing two successive block transfers into the same area of a frame buffer using the binary arith operations
write a prgram of swapping with 2 valiables