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


Please Help Members By Posting Answers For Below Questions

What is the difference between far and near ?

685


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1432


What is an arrays?

655


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

626


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

677






What is structure padding and packing in c?

623


What happens if a header file is included twice?

598


Why does the call char scanf work?

620


Write a program with dynamically allocation of variable.

604


Why are all header files not declared in every c program?

601


What is the use of pragma in embedded c?

592


what is ur strangth & weekness

1820


Why static is used in c?

622


What are 'near' and 'far' pointers?

620


Explain continue keyword in c

586