how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);
Answer Posted / abhishek roy
Yes there is syntax error in printf statement but if write
printf("%d",i--)then The output for the given for loop is
5 3 1.
it is 100 % write....
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are # preprocessor operator in c?
write a program to find the given number is prime or not
What is scope rule of function in c?
What are the different types of endless loops?
Under what circumstances does a name clash occur?
For what purpose null pointer used?
How can a string be converted to a number?
How can you check to see whether a symbol is defined?
Is c procedural or object oriented?
What is a protocol in c?
Which programming language is best for getting job 2020?
How can I avoid the abort, retry, fail messages?
Is it cc or c in a letter?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Where are the auto variables stored?