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
Describe newline escape sequence with a sample program?
Explain indirection?
What does emoji p mean?
Suggesting that there can be 62 seconds in a minute?
Why shouldn’t I start variable names with underscores?
I have a varargs function which accepts a float parameter?
What is define c?
Is the exit() function same as the return statement? Explain.
What is clrscr in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is define directive?
Whats s or c mean?
What is function what are the types of function?
Tell me what is the purpose of 'register' keyword in c language?
What is pivot in c?