Write a program for print infinite numbers

Answer Posted / shani jaiswal

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

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does #pragma once mean?

687


What is the use of function overloading in C?

677


Why cant I open a file by its explicit path?

593


write a progrmm in c language take user interface generate table using for loop?

1574


Differentiate between null and void pointers.

631






What is call by value in c?

558


Why do we need functions in c?

559


Is anything faster than c?

585


What is the use of a semicolon (;) at the end of every program statement?

774


What are near, far and huge pointers?

648


What do you mean by c?

589


Can you return null in c?

597


What is variable in c example?

594


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2540


Do pointers take up memory?

657