Answer Posted / sarvesh
#include<stdio.h>
#include<conio.h>
main()
{
int i,n,j;
int m=1;
clrscr();
printf("enter number");
scanf("%d",&n);
for(i=0;i<n;i++)
{
for(j=0;j<=i;j++)
{
printf("%d",m++);
}
printf("\n");
}getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how do you programme Carrier Sense Multiple Access
what is the basis for selection of arrays or pointers as data structure in a program
What are the types of pointers in c?
What is nested structure?
ATM machine and railway reservation class/object diagram
What are dangling pointers in c?
Explain Function Pointer?
Is it valid to address one element beyond the end of an array?
explain what are actual arguments?
What is difference between union and structure in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What’s the special use of UNIONS?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Why do we need arrays in c?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..