write a program whose output will be-
1
12
123
1234
Answer Posted / ck
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j==)
{
printf("%d ",j);
}
printf("/n");
}
getch();}
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
Where register variables are stored in c?
What is omp_num_threads?
What is getch() function?
What are the functions to open and close the file in c language?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the use of getchar functions?
What are reserved words?
How do I get a null pointer in my programs?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Is array name a pointer?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Explain continue keyword in c
What is a structure in c language. how to initialise a structure in c?
What is restrict keyword in c?
write a progrmm in c language take user interface generate table using for loop?