Answer Posted / prachi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d", i);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Why #include is used in c language?
What is c language in simple words?
differentiate built-in functions and user – defined functions.
How are Structure passing and returning implemented by the complier?
What is the purpose of 'register' keyword in c language?
Explain how can you tell whether two strings are the same?
Did c have any year 2000 problems?
Is calloc better than malloc?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Explain what standard functions are available to manipulate strings?
What is dynamic memory allocation?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is wild pointer in c with example?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
program for reversing a selected line word by word when multiple lines are given without using strrev