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 i can't able to know my Gr-1(APPSC) results becauge i lost my hall ticket. How to know my number? Help me please.

0 Answers  


min qualification for sbi clerck is 10+2, so can a clerck b reach to an officer rank at any time in future by promotion or departmental examination with having no graduation degree.

1 Answers   State Bank Of India SBI,


i want link to download brain teasers ebook by ravi narula for written test in software companies interviews.. so plzzzzzz send the link on my email id pammi123@gmail.com.....as soon as possible....or give it on this site....

1 Answers   ABC, Infosys, Qualcomm,


sir,iwant andhrabank and indian bank clerk model papers.pls send me

3 Answers   Indian Bank,


how to configure squirrel mail in rhel5???? guide step by step

0 Answers  


Why do u wish to pursue a career in management?

0 Answers  


Any idea of SBI clerical joing date

0 Answers   State Bank Of India SBI,


our country currently experiencing glow growth rate and a high inflation rate. what should be done in this situation by the government and what is the role of the bank?

0 Answers   Bank of Baroda,


how can i obtain the following with jcl ok here goes i have a file for emample mary.test 1, extract from the file the following ssn from column 7 '123551212' into a separate dataset. 2 , create second jobstep to extract from the data set created the following fund code '113' from column 7 into yet another dataset

0 Answers   MCI,


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

0 Answers  


Once Budget has been presented in the parliament, the Government has to get all money bills related to the Union Budget passed within________days.

1 Answers  


hi... my name is Rekha.... i selected karnataka bank wailisting list.... this is confirm of getting job in karnataka bank or not,,,,,,,,,, please reply my name comes in waiting list..........

0 Answers   Karnataka Bank,


Categories