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 / gandhi priyank

goto statment is also right because goto statement is not a
loop
e.g.
void main()
{
j:
printf("type your text here");

goto j;
}

Is This Answer Correct ?    10 Yes 42 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do the functions atoi(), itoa() and gcvt() do?

1194


find the sum of two matrices and WAP for it.

1141


Explain what are linked list?

1047


int far *near * p; means

3561


What is anagram in c?

926


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1827


What is %d called in c?

1236


What does d mean?

1094


How can I determine whether a machines byte order is big-endian or little-endian?

1065


Explain high-order bytes.

1121


How the c program is executed?

1159


What are the loops in c?

997


How can I invoke another program or command and trap its output?

1098


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1726


What is scope rule in c?

1071