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 |
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
What is scope of variable in c?
What is an anonymous union and where to apply that ?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is the purpose of the fflush() function in C?
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.
How can I make sure that my program is the only one accessing a file?
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?
how to compare two strings without using strcmp() function??
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
what type of questions arrive in interview over c programming?