program to print this triangle
*
* *
* * *
Answer Posted / roma
for(i=1; i<=3; i++)
{
cout<<"*"
}
getch();
Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
What is setbase c++?
Does c++ have a hash table?
How do you generate a random number in c++?
What is the use of cmath in c++?
What is the use of "new" operator?
What is c++ prototype?
Is it possible to use a new for the reallocation of pointers ?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
How would you find out if a linked-list is a cycle or not?
What are stacks?
List down the guideline that should be followed while using friend function.
What is the best c++ compiler?
What is an overflow error?
What is a linked list in c++?
Should the this pointer can be used in the constructor?