Answer Posted / kapil
#include<stdio.h>
void main()
{
int i=0,j=1;
while(i<3)
{
while(j<=7)
{
if(j-i==4||j+i==4)
printf("*");
else
printf(" ");
j++;
}
printf("\n");
i++;
j=1;
}
while(j<=7)
{
printf("*");
j++;
}
}
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Why malloc is faster than calloc?
What was noalias and what ever happened to it?
about c language
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What do you mean by recursion in c?
Tell us something about keyword 'auto'.
Explain about C function prototype?
p*=(++q)++*--p when p=q=1 while(q<=6)
What are void pointers in c?
What are runtime error?
Explain what is a program flowchart and explain how does it help in writing a program?
Explain how can you check to see whether a symbol is defined?
is it possible to create your own header files?
hi, which software companys will take,if d candidate's % is jst 55%?
What are the different types of endless loops?