#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 / grace

there is no output(printing) statements so no output for
this program if we compile this program means it will
execute a warning msg to u.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the difference between elecric and electronic?

1677


Cosmos bank is nationalised or Not..?

3620


Hi, i have been selected for abhyudaya clerk interview but dont have the application print out. Will i be allowed for interview?

1755


lovers love it. friends need it. relationship start with it. and life ends with it.

1316


Sir I m doing US based CFA. and I m MBA Finance from Gujarat University. I have 3 years of accounting cum Audit experience in India and Dubai. How this can help me to have US Visa. Means what is more required to apply for the employment Visa. Please reply me. Means which type of Employment Visa can I have good support.. Please reply me. What is still needed for my eligibility. for the same.

1425






What is the difference between Tinanium Debit card and Platinuim Debit card?

1484


Q.1)IM A UK BORN PERSON. NOW IM MARRIED AND HAVE TWO KIDS THAT HOLD PAKISTANI NATIONALITY.NOW I WANT TO APPLY FOR UK VISIT VISA.WHAT ARE THE REUIREMENTS THAT ARE NEEDED TO BE FULFILLED FOR THE VISA?

1569


i had an backlog in my engg finial year.so i am counted as 2008 or 2009 passout for applying to IT companies? so what should i keep it in my resume thanks in advance.

1367


What was the cut off for SSC Tax assistant examination in previous year and what may be the cut off this year?

1713


Explain Human Resource, avg. salary, where can I go with it.

1525


I have an experience of 6yrs in non voice bpo sector. M bbm graduate. I feel it is not an long term secure job, here v can stay maximum 35-40 with maximum salary of 25 to 30k.. my question is what is next.. what after 40yrs..? Plz suggest me for my future step... do u guys want me to sstay with it.. or want me to step another industry.. if yes.. what are the options..?

1382


Dear friends, I was shortlisted for Axis Bank Assistant Manager. But till date i haven't received any call letter from axis bank for Interview. Can anyone let me know that what is the process & how to prepare for Interview......

2781


How does the respiratory system picks up oxygen while inhaling amongst all other gases????

1454


Ang elepante na ba po ang susunod na mawawala sa ating daigdig?

1442


IS MEDIA GOING PAGE 3? reasons?

1562