write a program whose output will be-
1
12
123
1234

Answer Posted / abc_efg

#include<iostream.h>
#include<conio.h>
main()
{
{
for(i=1;i<=4;i++)
{cout<<"\n"
}
for (j=1;j<=4;j++)
}
return 0;
}

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is printf () in c?

578


Why doesnt that code work?

600


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1866


What is the use of a static variable in c?

594


Do you know what are bitwise shift operators in c programming?

585






What is context in c?

541


Is boolean a datatype in c?

546


What is a MAC Address?

628


What are the benefits of c language?

645


Which of these functions is safer to use : fgets(), gets()? Why?

635


how should functions be apportioned among source files?

627


Explain what is gets() function?

633


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2201


What is sorting in c plus plus?

565


Why void is used in c?

566