Output for following program using for loop only
*
* *
* * *
* * * *
* * * * *
Answer Posted / sampath
for(i=0;i<=5;i++){
for(j=i;j<=i;j++)
printf("*");
printf("\n");
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How many levels of indirection in pointers can you have in a single declaration?
Explain what happens if you free a pointer twice?
What is #include stdio h and #include conio h?
Can we declare variable anywhere in c?
What is difference between structure and union in c programming?
What is the -> in c?
Explain how do you determine the length of a string value that was stored in a variable?
What is sizeof array?
Why is event driven programming or procedural programming, better within specific scenario?
What do header files do?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
please give me some tips for the placement in the TCS.
How can I remove the trailing spaces from a string?
Explain what will the preprocessor do for a program?
how to make a scientific calculater ?