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 the best way of making my program efficient?
Explain how do you list files in a directory?
Can a local variable be volatile in c?
What functions are used in dynamic memory allocation in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
When should we use pointers in a c program?
What are the types of arrays in c?
How important is structure in life?
What does nil mean in c?
Describe how arrays can be passed to a user defined function
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is maximum size of array in c?
What is double pointer in c?
What is structure padding and packing in c?
Explain which function in c can be used to append a string to another string?