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 variables in c?
please explain every phase in the "SDLC" in the dotnet.
What is const volatile variable in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is main return c?
When was c language developed?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the correct code to have following output in c using nested for loop?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is spark map function?
write a program to print largest number of each row of a 2D array
Does c have enums?
What are the types of functions in c?
What is static function in c?