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

c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

0 Answers  


What is scope of variable in c?

0 Answers  


What is an anonymous union and where to apply that ?

3 Answers   HP,


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

0 Answers   IBM,


What is the purpose of the fflush() function in C?

2 Answers  


You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


How can I make sure that my program is the only one accessing a file?

0 Answers  


Write a program in c to print 1 121 12321 1234321 123454321

11 Answers   ANR, College School Exams Tests, Mu Sigma, Wipro,


What do you mean by a local block?

0 Answers   InterGraph,


how to compare two strings without using strcmp() function??

1 Answers  


What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,


what type of questions arrive in interview over c programming?

0 Answers  


Categories