what is the code for getting the output as
*
**
***
Answer Posted / pooja sonawane
void main()
{
int i,j;
for(i=0;i<3;i++)
printf("\n");
for(j=0;j<i;j++)
printf("*");
}
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Which type of language is c?
What is #define in c?
write a program to copy the string using switch case?
What are the advantages and disadvantages of c language?
How can I do serial ("comm") port I/O?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What does *p++ do?
What is identifier in c?
What are extern variables in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Is c compiled or interpreted?
Why pointers are used in c?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What are the features of c languages?
How a string is stored in c?