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 the uses of typedef in a program?
Evaulate: 22%5 a) 2 b) 4 c) 0
What are virtual functions in c++?
how many trys can we write in one class
Explain register storage specifier.
Can a constructor return a value?
What is isdigit c++?
What is protected inheritance?
what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.
When should overload new operator on a global basis or a class basis?
Is it possible to have a recursive inline function in c++?
How can you quickly find the number of elements stored in a dynamic array?