Answer Posted / manojkumar challagundla
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
int ctr=1;
for(i=1;i<=4;i++)
{
printf("\n")
for(j=1;j<=i;j++)
{
printf("%d",ctr);
ctr++;
}
}
}
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Differentiate between a for loop and a while loop? What are it uses?
What are the types of arrays in c?
how can I convert a string to a number?
What are disadvantages of C language.
What is the difference between c &c++?
What does != Mean in c?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is c mainly used for?
how do you execute a c program in unix.
Compare and contrast compilers from interpreters.
Are the outer parentheses in return statements really optional?
What are the characteristics of arrays in c?
What is the difference between volatile and const volatile?
What is property type c?