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 |
Write a c program to sort six numbers and find the largest one by using the ladder of if-else? plz do help me
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Juxtapose the use of override with new. What is shadowing?
If input is 123 then how to print 100 and 20 and 3 seperately?
What Is The Difference Between Null And Void Pointer?
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
m=++i&&++j(||)k++ printf("%d"i,j,k,m)
Whether there can be main inside another main?If so how does it work?
Write a C program that reads a series of strings and prints only those ending in "ed"
What is an arrays?