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 / manish verma

I guess, if it is not asking for any kind of loop (for /
while) then one can use recursive functions to achieve this.

Is This Answer Correct ?    63 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a null pointer different from a dangling pointer?

1030


What is meant by high-order and low-order bytes?

1051


If fflush wont work, what can I use to flush input?

1106


Do you know the use of 'auto' keyword?

1200


Differentiate between new and malloc(), delete and free() ?

1184


Differentiate between declaring a variable and defining a variable?

1044


What is a good data structure to use for storing lines of text?

1086


What is optimization in c?

1011


What are keywords c?

1032


Which header file is essential for using strcmp function?

1482


What is volatile, register definition in C

1109


What is call by reference in functions?

1452


can we change the default calling convention in c if yes than how.........?

2535


What is the use of in c?

1030


Dont ansi function prototypes render lint obsolete?

1131