write a program to print infinte number

Answer Posted / reshma

void main()
{
int i=0;
while(1)
{
printf("%d",&i);
i++;
}
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the advantages and disadvantages of a heap?

594


What is the difference between null pointer and wild pointer?

630


How can you find the exact size of a data type in c?

595


Which is better pointer or array?

592


List some applications of c programming language?

544






What is assignment operator?

620


What is c language in simple words?

588


What do you mean by dynamic memory allocation in c? What functions are used?

650


Write a program to generate random numbers in c?

658


What are the features of the c language?

640


Write program to remove duplicate in an array?

595


Compare interpreters and compilers.

633


Explain the difference between null pointer and void pointer.

662


What are header files? What are their uses?

632


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1400