Give the Output :
*
* *
* * *
* * * *

Answer Posted / prasanna

int i,j;
for(i=o;i<4;i++)
{
for(j=0;j<=i;j++)
{
printf("*");
}
}

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a program?

669


How can I get the current date or time of day in a c program?

654


what value is returned to operating system after program execution?

1608


What are dangling pointers in c?

650


What do you mean by dynamic memory allocation in c? What functions are used?

662






What is a stream?

655


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1635


Describe the difference between = and == symbols in c programming?

782


What is the difference between struct and typedef struct in c?

663


What is an lvalue?

638


What are the different types of pointers used in c language?

615


What is || operator and how does it function in a program?

635


What is the benefit of using const for declaring constants?

592


Can we initialize extern variable in c?

640


Why does everyone say not to use scanf? What should I use instead?

685