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
how to access grid view row?
What is flush c++?
What is an arraylist c++?
Is there any function that can skip certain number of characters present in the input stream?
How did c++ get its name?
What is meant by iomanip in c++?
Is swift better than c++?
Should I learn c or c++ or c#?
Difference between delete and free.
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
Name four predefined macros. How are the features of c++ different from c? What is the use of default constructor? What is exception handling? Does c++ support exception handling? What is cin clear () in c++?