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
What is calloc() function?
write a program to print data of 5 five students with structures?
With the help of using classes, write a program to add two numbers.
What is use of bit field?
What are unions in c?
What does the format %10.2 mean when included in a printf statement?
What is the benefit of using #define to declare a constant?
Can the “if” function be used in comparing strings?
Does sprintf put null character?
How do I get a null pointer in my programs?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is #include stdio h?
Why are algorithms important in c program?
Why is c called a structured programming language?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?