Write a program in c using only loops to print *
* *
* *
*******
Answer Posted / veera
#include<stdio.h>
#include<math.h>
main()
{
clrscr();
printf("*");
printf("\n");
printf("* *");
printf("\n");
printf("* *");
printf("\n");
printf("*******");
getch();
}
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is malloc calloc and realloc in c?
Define Array of pointers.
What is spaghetti programming?
Explain what will the preprocessor do for a program?
What are the similarities between c and c++?
How to Throw some light on the splay trees?
Why & is used in scanf in c?
What is const keyword in c?
Is multithreading possible in c?
Explain how to reverse singly link list.
What is data types?
What are the 5 types of organizational structures?
What is the difference between break and continue?
Is there a built-in function in C that can be used for sorting data?
Tell me when would you use a pointer to a function?