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 / harpreet kaur

we can create our own header file having a function to
print nos with loop and then use that header file in new
prog with the functoin defined in it.

Is This Answer Correct ?    30 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is break in c?

1058


When should a type cast be used?

1027


What is #pragma statements?

1108


What is the purpose of realloc()?

1153


Explain what is gets() function?

1089


What is typedef example?

1198


What are global variables and how do you declare them?

1113


Which is better pointer or array?

1040


what is the difference between class and unio?

2377


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1354


Where is c used?

1108


Where static variables are stored in c?

1119


What is scope rule of function in c?

1111


Why is event driven programming or procedural programming, better within specific scenario?

2449


Why can't I perform arithmetic on a void* pointer?

1112