Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


program to print this triangle
*
* *
* * *

Answers were Sorted based on User's Feedback



program to print this triangle * * * * * *..

Answer / rajesh

#include<stdio.h>
main()
{
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=i;j++)
printf(""+"*",i,j);
}
}

Is This Answer Correct ?    8 Yes 58 No

program to print this triangle * * * * * *..

Answer / jayasreesampath

#include<stdio.h>
main()
{
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=3;j++)
printf("\n",i,j);
}
}

Is This Answer Correct ?    23 Yes 91 No

Post New Answer

More C++ General Interview Questions

What is the difference between inline functions and macros?

5 Answers  


What are iterators in c++?

0 Answers  


What are the differences between java and c++?

0 Answers  


Can I run c program in turbo c++?

0 Answers  


Explain this pointer?

0 Answers  


What are templates? where we should use it?

2 Answers   Alcatel,


What is rtti in c++?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


What are access specifiers in C++?

3 Answers  


What does it mean to declare a destructor as static?

0 Answers  


Does c++ have arraylist?

0 Answers  


Can a constructor be private?

0 Answers  


Categories