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
how could explain about job profile
What are the 32 keywords in c?
Explain what are compound statements?
Write a program to generate the Fibinocci Series
What language is lisp written in?
What is #include called?
How can I read/write structures from/to data files?
int i=10; printf("%d %d %d", i, i=20, i);
Can variables be declared anywhere in c?
Which is better pointer or array?
The statement, int(*x[]) () what does in indicate?
What is uint8 in c?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is openmp in c?
Can we replace the struct function in tree syntax with a union?