write a program to print infinte number
Answers were Sorted based on User's Feedback
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 |
Answer / reshma
void main()
{
int i=0;
while(1)
{
printf("%d",&i);
i++;
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / reshma
void main()
{
int i=0;
while(1)
{
printf("%d",&i);
i++;
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naresh lingampally
void main()
{
int i;
clrscr();
for(i=0;;i++)
{
printf("%d",&i);
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 8 No |
What is a segmentation fault?
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"
How is a null pointer different from a dangling pointer?
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(); }
What is the purpose of realloc()?
List the difference between a While & Do While loops?
what is d pitfalls of registers variables
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
Explain the use of 'auto' keyword in c programming?
What is identifier in c?
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
Explain what standard functions are available to manipulate strings?