Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a program for print infinite numbers

Answers were Sorted based on User's Feedback



Write a program for print infinite numbers..

Answer / chavidi

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

Is This Answer Correct ?    25 Yes 12 No

Write a program for print infinite numbers..

Answer / shani jaiswal

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

Is This Answer Correct ?    10 Yes 0 No

Write a program for print infinite numbers..

Answer / greg

#include <math.h>

static void checkinfinit(double x)
{
if (isinf())
{
printf("Infinite\n");
}
}

int main(int argc, char **argv, char **envp)
{
checkinfinite(1.0);
}

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Interview Questions

What is the purpose of ftell?

0 Answers  


what r the cpu registers r ther?

1 Answers  


Explain why c is faster than c++?

0 Answers  


What should malloc(0) do?

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 Answers   3D PLM, Code Studio, Deltech, IBM,


difference between i++* and *++i

6 Answers   IBM,


with out using main how to execute the program?

2 Answers  


C language questions for civil engineering

0 Answers   Tech Mahindra,


Why does this code crash?

0 Answers  


What is the value of uninitialized variable in c?

0 Answers  


What are the 5 elements of structure?

0 Answers  


What are the two types of functions in c?

0 Answers  


Categories