Output for following program using for loop only
*
* *
* * *
* * * *
* * * * *
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / dhruv sharma rkdf
#include<stdio.h>
#include<conio.h>
void main(){
int i,j;
clrscr();
for(i=1;i<=5;i++){
for(j=i;j>0;j--){
printf("*");
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sampath
for(i=0;i<=5;i++){
for(j=i;j<=i;j++)
printf("*");
printf("\n");
}
| Is This Answer Correct ? | 0 Yes | 2 No |
What is typedf?
Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?
Is c functional or procedural?
What is unsigned int in c?
how to swap 4 number without using temporary number?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL
What is string concatenation in c?
Tell me about low level programming languages.
Given an unsigned integer, find if the number is power of 2?
Explain how can I read and write comma-delimited text?
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
What is a class?