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 change only the 3rd bit of the particular number such that other bits are not affected.. if bitnum=10(say.. it can be any no..
main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason
What is preprocessor with example?
void main() { int a=1; while(a++<=1) while(a++<=2); }
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
How can you determine the size of an allocated portion of memory?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
How can you pass an array to a function by value?
Explain how do you list files in a directory?
Explain what does it mean when a pointer is used in an if statement?
What is bss in c?