Answer Posted / karthickumar
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=6;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
getch()
}
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
How can I swap two values without using a temporary?
Are comments included during the compilation stage and placed in the EXE file as well?
What are the advantages and disadvantages of pointers?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is %s and %d in c?
Which type of language is c?
How can you convert integers to binary or hexadecimal?
Why is C language being considered a middle level language?
How are portions of a program disabled in demo versions?
How can you draw circles in C?
What is define directive?
What is malloc and calloc?
what type of questions arrive in interview over c programming?
Write a program to find the biggest number of three numbers in c?
What does c in a circle mean?