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

Is c++ used anymore?

1096


Which is the best c++ compiler for beginners?

1100


daily Routine of father

1412


Do vectors start at 0?

990


What are the differences between java and c++?

1082


Why should we use null or zero in a program?

1045


How to declare a pointer to an array of integers?

1144


What is the difference between containment and delegation?

1334


What is the output of the following program? Why?

1146


What is data abstraction? How is it different from data encapsulation?

1006


Explain terminate() function?

1057


Which c++ operator cannot overload?

1017


When do we run a shell in the unix system?

1085


What is a try block?

1074


What is near, far and huge pointers? How many bytes are occupied by them?

1119