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 a C++ program without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;

Answer Posted / solairaja

void main()
{
int i;
V:
printf("%d",i++);
goto V;
}

Is This Answer Correct ?    3 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the red-black trees?

1132


What are the 4 types of organizational structures?

1106


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2185


What are the application of c?

1102


What is a const pointer in c?

1132


What does *p++ do? What does it point to?

1065


What is the purpose of main( ) in c language?

1142


What are dangling pointers in c?

1235


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3073


Explain what is the difference between null and nul?

1159


What is volatile variable in c?

1095


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1214


What is pointer to pointer in c language?

1153


simple program of graphics and their output display

2003


How do you redirect a standard stream?

1110