write a program whose output will be-
1
12
123
1234
Answer Posted / aditya nath
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 18 Yes | 12 No |
Post New Answer View All Answers
What is main () in c language?
Is malloc memset faster than calloc?
What is meant by type specifiers?
the question is that what you have been doing all these periods (one year gap)
What is c preprocessor mean?
What are the types of bitwise operator?
What is pointer & why it is used?
What is typedef example?
What is a header file?
Why c is a procedural language?
What is pass by value in c?
What are valid operations on pointers?
Explain about the functions strcat() and strcmp()?
Is there a way to jump out of a function or functions?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?