what is the code for getting the output as
*
**
***
Answer Posted / sourisengupta
void main()
{
int i,j;
for(i=0;i<3;i++){
for(j=0;j<i;j++){
printf("*");
printf("\n");
}
}
}
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Is a house a mass structure?
Is malloc memset faster than calloc?
What is double pointer?
What is a scope resolution operator in c?
How can I get the current date or time of day in a c program?
What is the difference between functions abs() and fabs()?
What do you understand by normalization of pointers?
Why c is procedure oriented?
How can I manipulate strings of multibyte characters?
What does sizeof function do?
how could explain about job profile
What is time null in c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What are the characteristics of arrays in c?