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...


Output for following program using for loop only
*
* *
* * *
* * * *
* * * * *

Answers were Sorted based on User's Feedback



Output for following program using for loop only * * * * * * * * * * * * * * *..

Answer / sjyamsunderreddy.beemudi

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

Is This Answer Correct ?    8 Yes 0 No

Output for following program using for loop only * * * * * * * * * * * * * * *..

Answer / dhruv sharma rkdf

#include<stdio.h>
#include<conio.h>
void main(){
int i,j;
clrscr();
for(i=1;i<=5;i++){
for(j=i;j>0;j--){
printf("*");
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    0 Yes 0 No

Output for following program using for loop only * * * * * * * * * * * * * * *..

Answer / sampath

for(i=0;i<=5;i++){
for(j=i;j<=i;j++)
printf("*");
printf("\n");
}

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

When should a far pointer be used?

0 Answers   Aspire, Infogain,


What is void main () in c?

0 Answers  


What are dangling pointers in c?

0 Answers  


wat s the meaning of (int *)p +4;

2 Answers  


Why is #define used?

0 Answers  


What is difference between scanf and gets?

0 Answers  


What are c identifiers?

0 Answers  


What is spaghetti programming?

0 Answers  


What are the types of pointers?

0 Answers  


how i m write c program 1.check prime number 2.prime number series

1 Answers  


how to find binary of number?

2 Answers  


Why does not c have an exponentiation operator?

0 Answers  


Categories