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 |
Are there constructors in c?
can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????
how we can make 3d venturing graphics on outer interface
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
What are the general description for loop statement and available loop types in c?
What is the benefit of using an enum rather than a #define constant?
Hi, main() { } Is a user defined function or Built in Functionn
i=10,j=20 j=i,j?(i,j)?i:j:j print i,j
Why is main function so important?
Explain how to reverse singly link list.
I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed
Explain what is a 'locale'?