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 are static member functions?
What is the best book for c++ beginners?
let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.
What do you mean by persistent and non persistent objects?
What is the purpose of templates in c++?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is else if syntax?
const char * char * const What is the differnce between the above two?
What is the best c++ compiler?
By using c++ with an example describe linked list?
Specify some guidelines that should be followed while overloading operators?
Can c++ be faster than c?