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

Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


What is the use of sizeof?

0 Answers  


What is pragma in c?

0 Answers  


write a program in c language that uses function to locate and return the smallest and largest integers in an array,number and their position in the array. it should also find and return the range of the numbers , that is , the difference between the largest number and the smallest.

1 Answers  


Who invented b language?

0 Answers  






Describe the modifier in c?

0 Answers  


4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

6 Answers   Accenture,


Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?

2 Answers  


what is foreign key in c language?

1 Answers   ADP,


What does dm mean sexually?

0 Answers  


How can you determine the maximum value that a numeric variable can hold?

0 Answers  


where do we use volatile keyword?

1 Answers  


Categories