Answer Posted / clearner
void odddesc(int n)
{
for(int i=(2*n-1);i>=1;i=1-2)
cout<<i<<endl;
}
| Is This Answer Correct ? | 5 Yes | 12 No |
Post New Answer View All Answers
What is the rule of three?
why and when we can declar member fuction as a private in the class?
Explain stack & heap objects?
Why can templates only be implemented in the header file?
Can a built-in function be recursive?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
Which is best ide for c++?
Define stacks. Provide an example where they are useful.
Why was c++ created?
What is iterator in c++?
Define the operators that can be used with a pointer.
Is there finally in c++?
Can char be a number c++?
What is static function? Explain with an example