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
What do the functions atoi(), itoa() and gcvt() do?
find the sum of two matrices and WAP for it.
Explain what are linked list?
int far *near * p; means
What is anagram in c?
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
What is %d called in c?
What does d mean?
How can I determine whether a machines byte order is big-endian or little-endian?
Explain high-order bytes.
How the c program is executed?
What are the loops in c?
How can I invoke another program or command and trap its output?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is scope rule in c?