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 are features of c++?
Can you please explain the difference between using macro and inline functions?
How much do coding jobs pay?
What does scope resolution operator do?
Can notepad ++ run c++?
What is late binding c++?
What is the difference between a type-specific template friend class and a general template friend class?
Define a pointer to a data member of the type pointer to pointer?
Explain mutable storage class specifier.
Specify different types of decision control statements?
Why is c++ difficult?
How do I run a program in notepad ++?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What is an orthogonal base class in c++?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop