write infinite loop in C++ which does not use any variable
or constant?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between the parameter to a template and the parameter to a function?
What are the types of pointer?
What are the benefits of c++?
What are structures and unions?
What is the difference between static global and global ?
What is auto type c++?
What is setf in c++?
How to allocate memory dynamically for a reference?
What is c++ flowchart?
What are associate containers?
Explain the auto storage classes in c++.
What is a container class?