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
explain what are actual arguments?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
When would you use a pointer to a function?
Write a program to swap two numbers without using the third variable?
Can you write the algorithm for Queue?
What is default value of global variable in c?
What is the difference between memcpy and memmove?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What are identifiers in c?
What is I ++ in c programming?
What are pointers?
Explain two-dimensional array.
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Why should I prototype a function?
Can we declare a function inside a function in c?