how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");
Answer Posted / guest
infinite coz there is no condition to stop it
Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
How can I insert or delete a line (or record) in the middle of a file?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain how do you list a file’s date and time?
What is data structure in c and its types?
Is python a c language?
What are compound statements?
What is d'n in c?
Are pointers integers in c?
What are the types of operators in c?
What is the use of a ‘ ’ character?
What is #define?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Is c procedural or object oriented?