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

write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

0 Answers   Persistent,


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

0 Answers   IBM,


to get a line of text and count the number of vowels in it

2 Answers  


Explain c preprocessor?

0 Answers  


Please list all the unary and binary operators in C.

3 Answers  






What are the different data types in C?

0 Answers  


What is logical error?

0 Answers  


Is void a keyword in c?

0 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


What does 1f stand for?

0 Answers  


program to get the remainder and quotant of given two numbers with out using % and / operators?

10 Answers   College School Exams Tests, IBM,


Explain union. What are its advantages?

0 Answers  


Categories