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 can you find the nodes with repetetive data in a linked list?
Write is a binary search tree? Write an algo and tell complexity?
What sorting algorithm does c++ use?
Do we have private destructors?
Write about c++ storage classes?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
What is difference between class and structure in c++?
What is the meaning of string in c++?
What is enum c++?
Can you pass an array to a function in c++?
write a programme to get a character and thier ASCII value
How did c++ get its name?