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
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What are the different types of objects used in c?
what is uses of .net
Why does notstrcat(string, "!");Work?
hi send me sample aptitude papers of cts?
What is #include stdlib h?
What is main function in c?
What is the acronym for ansi?
Write a program to identify if a given binary tree is balanced or not.
What is this pointer in c plus plus?
What is the difference between arrays and pointers?
How can a number be converted to a string?
Explain setjmp()?
What is ## preprocessor operator in c?
Write a program to find the biggest number of three numbers in c?