Write a program for print infinite numbers

Answer Posted / chavidi

void main()
{
int i=0;
while()
{
printf("%d",i)
i++;
}
}

Is This Answer Correct ?    25 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

5053


Is c easy to learn?

553


What is difference between union All statement and Union?

628


What does void main () mean?

729


What is strcmp in c?

594






Is fortran still used today?

599


Explain union. What are its advantages?

613


State the difference between realloc and free.

627


Explain what is a program flowchart and explain how does it help in writing a program?

644


Can we access array using pointer in c language?

640


Explain do array subscripts always start with zero?

756


Wt are the Buses in C Language

2749


Is there any possibility to create customized header file with c programming language?

619


What is difference between constant pointer and constant variable?

626


write a programming in c to find the sum of all elements in an array through function.

1702