Answer Posted / keerthana
for loop is executed the condition is satified ..the loop
is executed. ex: n=5 ..the loop is 5 times executed..becoz
the condition is true..otherwise loop is exit.
while loop is executed the condition is true..otherwise
after one time..executed until the condition is false..
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is the purpose of & in scanf?
What is null pointer constant?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is the difference between a free-standing and a hosted environment?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What are the advantages of using linked list for tree construction?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
How many types of functions are there in c?
What is ctrl c called?
What is meant by initialization and how we initialize a variable?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Explain the use of function toupper() with and example code?
What are the various types of control structures in programming?
Which node is more powerful and can handle local information processing or graphics processing?