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
What is enumerated data type in c?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is meant by keywords in c?
Explain what are multibyte characters?
Explain the term printf() and scanf() used in c language?
Why c is called free form language?
Explain what are header files and explain what are its uses in c programming?
When was c language developed?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Can we change the value of static variable in c?
What is meant by 'bit masking'?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is the size of a union variable?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Can the size of an array be declared at runtime?