Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#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?

Answers were Sorted based on User's Feedback



#include<iostream.h> #include<string.h> main() { char word[]="test"; int ..

Answer / suz

The Output will be...

t
te
tes
test

Is This Answer Correct ?    1 Yes 1 No

#include<iostream.h> #include<string.h> main() { char word[]="test"; int ..

Answer / 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

More Everything Else AllOther Interview Questions

hi, im working as a domestic helper in malaysia and i want to ask what are the documents needed if i want to apply for a visit visa to australia alone without my employer.is there a big chance for me to get a visa. hope you can help me.

0 Answers  


how to ezee boiler effecincy formula? \and saw dust c.v dry&wet.pl.type

0 Answers  


3 FRIENDS GOES TO WATCH SHOP TO BUY WATCH THE SHOPKEEPER SAYS THE WATCH IS OF 60RS EACH ONE CONTRIBUTES 20RS THEN THE SHOP OWNER SAYS THAT WATCH IS OF 50 RS SO THAT SHOPKEEPER GIVES EACH PERSON 2RS AND KEEP 4RS TO HIMSELF NOW THE WATCH IS OF 18RS PER HEAD SO ITS EQUAL TO 56 BUT 18*3 = 54 SO WHERE IS THE 2RS

0 Answers  


Which is the World’s Warmest Sea?

0 Answers  


split stock

2 Answers   FactSet Systems,


What kind of salary you are expecting from our organization? How can we tell amount of salary in the case of different companies.?

0 Answers  


two programming examples in which multithreading provides better performance than a single-threaded solution.

0 Answers  


Hey anyone got the previous question papers of SSC Mains for LDCs.If so please help.My Email id is Wizard_com2002@yahoo.com

0 Answers  


Financial year start from which month and ends in which month? Academic year start from which month and ends in which month? Calender year start from which month and ends in which month?

0 Answers  


Which of the rank of para military ie BSF, CRPF or ITBP is equivalant to Lt Col of Indian Army?

8 Answers   BSF, CISF, CRPF, Indian Army, ITBP,


why are you suitable for national physical laboratory?

1 Answers  


How to check server status from xscf prompt

0 Answers   HP,


Categories