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 zero based addressing?
Can a program have two main functions?
When should you not use a type cast?
What is the use of a semicolon (;) at the end of every program statement?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain the difference between structs and unions in c?
What do you mean by Recursion Function?
What is static and auto variables in c?
What is the use of bitwise operator?
Explain enumerated types in c language?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is a const pointer in c?
What is linear search?
What is sizeof array in c?
What is the difference between mpi and openmp?