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 to print infinte number

Answers were Sorted based on User's Feedback



write a program to print infinte number..

Answer / satya

it is impossible ..
because, just think generally, we can not define a infinite
number.. so how can we print...

Is This Answer Correct ?    3 Yes 2 No

write a program to print infinte number..

Answer / reshma

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

Is This Answer Correct ?    1 Yes 0 No

write a program to print infinte number..

Answer / reshma

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

Is This Answer Correct ?    0 Yes 0 No

write a program to print infinte number..

Answer / naresh lingampally

void main()
{
int i;
clrscr();
for(i=0;;i++)
{
printf("%d",&i);
}
getch();
}

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More C Interview Questions

What is a segmentation fault?

2 Answers  


Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"

15 Answers   Accenture,


How is a null pointer different from a dangling pointer?

0 Answers  


What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

4 Answers   CTS, Oracle,


What is the purpose of realloc()?

0 Answers  


List the difference between a While & Do While loops?

0 Answers   Accenture,


what is d pitfalls of registers variables

3 Answers   TCS,


print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20

8 Answers   TCS,


Explain the use of 'auto' keyword in c programming?

0 Answers  


What is identifier in c?

0 Answers  


int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?

6 Answers   Verifone,


Explain what standard functions are available to manipulate strings?

0 Answers  


Categories