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
What are the benefits of c++?
What is a local variable?
Write a program to add three numbers in C++ utilizing classes.
Is dev c++ free?
Can we define function inside main in c++?
What are the two shift operators and what are their functions?
What are files in c++?
Explain the problem with overriding functions
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Difference between an inspector and a mutator
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
How is c++ used in the real world?
What is the full form of c++?
If dog is a friend of boy, is boy a friend of dog?
What is the difference between global variables and static varables?