write infinite loop in C++ which does not use any variable
or constant?
Answer Posted / gyanendra verma
#include<iostream.h>
#include<conio.h>
void main()
{
while!kbhit())
{
gotoxy(10,20);
printf(" Infinite loop by gyanendra verma ";
}
getch();
}
kbhit() : - A function that wait untill key press
| Is This Answer Correct ? | 3 Yes | 14 No |
Post New Answer View All Answers
Why are pointers not used in c++?
Explain binary search.
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is c++ and its features?
Tell me what are static member functions?
What are the rules for naming an identifier?
What is the difference between #import and #include in c++?
Is c++ free?
What is the basic of c++?
Can we run c program in turbo c++?
What is iterator c++?
How to defines the function in c++?
What is a constructor in c++ with example?
What is iostream in c++ used for?
How to give an alternate name to a namespace?