#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


Please Help Members By Posting Answers For Below Questions

hat will be the syllabus of The Descriptive paper of Forthcoming Bank of India P.Os Exam? I Have the copy of advertisement but there is no information in it that what will be asked in Descriptive Paper?

1645


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

1634


Why we do not say INDIA as a DEVELOPED NATION ?

1923


I m selected in cag DEO pag gssa in kerla Obc category if anybody want kerla then call me 7275639235

1252


I am associated with logistic industries, company and always facing problems during the despecthing our goods especially in U P & Uttrakhand, My concern is toward Saletex authority , Kindly clear the concept on following points, 1-why & when road permit is required, 2- does road permit permit is required for sample item,stock transfer,replacement, repairing materials & gift items,

1177






Dear sir, Corporation bank has announced notification to apply for clerk post{IBPS}. They are going to test language proficiency test I want to know what questions they have asked previously at corp bank clerk interview and please mail me karthik.keya87@gmail.com

1611


mention some of the major contribution made by you in present & previous jobs- Sales Representative

1705


I have done MBA(Finance & Mktng) back in 2009 and then join the BPO backend process for 1 year and done sap sd and now i m lkking for the sap sd or mba job ..please reply fast at lalit.chitkara@gmail.com if you have any suggestion...i need job immediatly...

1373


What. Is. This sap mining

1636


how can i get a Valid Certificate of Competency as Electrical Supervisor after completing diploma in electrical & electronics engineering in kakinada ...

1863


Rich man keeps me in the pocket poor man throws me away kids eat me its tamil word _u_e_l

1447


Thyristor convertor type AVR(Automatic Voltage Regulator) is made of Thyristors(Silicon Controlled Rectifiers,SCRs). We know that output DC voltage from an SCR will not only depend upon the r.m.s. value of Input voltage applied, but also at the angle at which the input AC cycle is fired (using gate signal). If the firing angle is zero(in a simple circuit), then maximum DC output voltage will be obtained.If the firing angle is changed from 0 to 180,then maximum to minimum voltage is obtained. This property could be used to build an AVR. The firing angle proportional to Output voltage could be used to trigger the thyristor,in a closed loop manner and a nearly constant DC voltage(Average Value) can be obtained.An invertor circuitory could be utilised to get a regulated AC supply. Many other configurations can be build from thyristors to get a regulated AC supply.

6435


IN LINUX RHEL5 HOW TO REINSTALL KERNEL???????

1411


plz send me last 10 years bank clerk papers for union bank clerk for preparation. thank u..plz hurry up..its urgent

1641


How can i talk by using Pc/Laptop to our frnds? please tell the steps in details.

1376