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

What is a const pointer in c?

850


Describe how arrays can be passed to a user defined function

992


Is c still used?

784


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5349


What is an lvalue?

825


Explain how do you determine whether to use a stream function or a low-level function?

819


What is string length in c?

813


What are structure types in C?

852


What is typedef struct in c?

782


Should a function contain a return statement if it does not return a value?

806


How do you print an address?

966


What is a node in c?

722


Do you know what are the properties of union in c?

772


What is the difference between void main and main in c?

849


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

836