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

Can a new be used in place of old mallocq? If yes, why?

1045


Explain the purpose of the keyword volatile.

1117


How are the features of c++ different from c?

1035


Which one is a preferred language C or C++? Why?

1037


What is the purpose of the "delete" operator?

1023


How do I get good at c++ programming?

1113


Mention the ways in which parameterized can be invoked.

906


What is the difference between cin.read() and cin.getline()?

1026


What operators can you overload in c++?

1014


Where can I run c++ program?

1028


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1089


When does a name clash occur in c++?

1122


What are friend functions in C++?

1021


How do you master coding?

995


What is c++ in english?

1012