#include<iostream.h>
#include<string.h>
main()
{
char word[]="test";
int i=0,j=0;
while(i<4)
{
j=0;
while(j<=i)
cout<<word[j++];
cout<<'\n';
i++;
}
return 0;
}
what is the output for this program?
Answer Posted / suz
The Output will be...
t
te
tes
test
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you create a solaris package?
how to prepare for exam for the post of DIPLOMA TRAINEE at HAL and also i want previous question papers.please send me.
Hi, i have been selected for abhyudaya clerk interview but dont have the application print out. Will i be allowed for interview?
What you do if your superior or manager commits theft or anything else which cause to company loss, and you know everything but he told you that not to tell anybody because your appraisal and bonus is in my hand? Pls give me best answer
when will be declared result of allahabad clerical exam?
please do tell me who the editor-in-chief of the Asian Age is as of 2011-12
please i have been given a project on optical networking hardware,i have done all i could but i could'nt find the information i wanted,please can u help me,i need to submit it in 6hours time today.please try and help me out.
Bhagwan budh got enlightment under the tree of Banyan (But briksh)then why there are a peepal tree in Bodh Gaya as a Bodhibriksh?
can server request to the client:yes/no give the reasion atleast 3
Hi I have cleared the written exam for Karnataka bank PO. My interview is on 27-4-2011. Please give me some interview questions its urgent. My email is reddyy20@gmail.com and my contact number is 09493952153
what is GRN ? When to raise GRN?
Why do you want to join Genpact?
I heard about online data entry job and is this job safe, legal to do at home. How I will find a good online job to do at home ?
24th may is famous for what?
what is the equivalence classes for the pairs (1,1) and (3,4)?