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 |
logic for x=y^n
How can you pass an array to a function by value?
How we can write a value to an address using macro..?
Is c weakly typed?
What do you mean by invalid pointer arithmetic?
I came across some code that puts a (void) cast before each call to printf. Why?
How can you determine the maximum value that a numeric variable can hold?
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
code for selection sort?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
write a program for even numbers?