What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}

Answer Posted / vennila

*
**
***
****

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I convert a string to a number?

632


Why c is called procedure oriented language?

566


Can you please explain the difference between syntax vs logical error?

682


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1483


What is meant by initialization and how we initialize a variable?

577






How does #define work?

638


What is assert and when would I use it?

568


What is the explanation for modular programming?

670


What is the purpose of ftell?

593


What is null pointer in c?

581


What is variable and explain rules to declare variable in c?

544


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

753


Can you tell me how to check whether a linked list is circular?

753


Why is structure padding done in c?

631


Explain how do you determine a file’s attributes?

584