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

writ a program to compare using strcmp VIVA and viva with its output.

2027


What does char * * argv mean in c?

1070


How to implement a packet in C

2890


Is null equal to 0 in sql?

1156


How can I read data from data files with particular formats?

1051


What are the different types of data structures in c?

1166


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2179


Explain how can I read and write comma-delimited text?

1177


Process by which one bit pattern in to another by bit wise operation is?

1172


Give the rules for variable declaration?

1186


What's the total generic pointer type?

1061


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1772


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1076


Differentiate between the expression “++a” and “a++”?

1258


What are the different types of constants?

1077