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
Is return a keyword in c?
What is page thrashing?
What is wrong with this program statement?
why programs in c are running with out #include
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Are the outer parentheses in return statements really optional?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Where register variables are stored in c?
How does pointer work in c?
What is variable declaration and definition in c?
what is reason of your company position's in india no. 1.
What are the 4 types of functions?
What do you know about the use of bit field?
How will you delete a node in DLL?
Write a code on reverse string and its complexity.