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 |
How would perform Pattern Matching in C++?
Why c++ is better than c language?
Explain selection sorting. Also write an example.
What is setf in c++?
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
What is a "Copy Constructor"?
Explain the scope of resolution operator.
What is the basic concept of c++?
an integer constant must have atleast one a) character b) digit c) decimal point
What is a volatile variable in c++?
What is a constructor and how is it called?