Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the benefits of c++?

1105


What is a local variable?

1133


Write a program to add three numbers in C++ utilizing classes.

1184


Is dev c++ free?

1101


Can we define function inside main in c++?

1073


What are the two shift operators and what are their functions?

1141


What are files in c++?

1089


Explain the problem with overriding functions

1211


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3944


Difference between an inspector and a mutator

1390


What is the maximum value of a unsigned char a) 255 b) 256 c) 128

1120


How is c++ used in the real world?

1090


What is the full form of c++?

1431


If dog is a friend of boy, is boy a friend of dog?

1049


What is the difference between global variables and static varables?

1190