Output for following program using for loop only
*
* *
* * *
* * * *
* * * * *
Answer Posted / sjyamsunderreddy.beemudi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
}
printf(\n);
}
getch();
}
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Tell me the use of bit field in c language?
main() { printf("hello"); fork(); }
Does c have an equivalent to pascals with statement?
What is double pointer in c?
What does do in c?
How will you find a duplicate number in a array without negating the nos ?
What is indirection?
What is a lvalue
Is null always defined as 0(zero)?
Distinguish between actual and formal arguments.
can any one provide me the notes of data structure for ignou cs-62 paper
Describe the difference between = and == symbols in c programming?
What does volatile do?
What is %d used for?