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
an integer constant must have atleast one a) character b) digit c) decimal point
How the virtual functions maintain the call up?
Write about the scope resolution operator?
Explain function overloading and operator overloading.
What is array in c++ pdf?
What is the role of C++ shorthand's?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
What are shallow and deep copies?
What is the type of 'this' pointer?
Define copy constructor.
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
Why is swift so fast?
Write a program to show polymorphism in C++?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Explain storage qualifiers in c++.