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 |
what is the code to display color fonts in the output?
What is the use of pragma in embedded c?
Which is best book for data structures in c?
What is malloc calloc and realloc in c?
What are the types of bitwise operator?
What is static memory allocation? Explain
Why does notstrcat(string, "!");Work?
declare afunction pointer to int printf(char *)?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
How can I allocate arrays or structures bigger than 64K?
what is c++ programming?
what is compiler