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
How delete [] is different from delete?
If all is successful, what should main return a) 0 b) 1 c) void
how to connect with oracle 9i with server in socket program in c/c++
How to implement is-a and has-a class relationships?
Implement stack operations with pointers with appropriate exception checks.
What is functions syntax in c++?
What is the difference between global int and static int declaration?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
What is exception handling? Does c++ support exception handling?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
Explain pass by value and pass by reference.
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What is c++ try block?
What is using namespace std in c++?
What is near, far and huge pointers? How many bytes are occupied by them?