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

I have so many scripts in local. now i want to convert into the share repositery. how can i do that?

0 Answers  


How to Delete duplicates in datastage using only dataset stage....?

0 Answers   Cap Gemini,


describe the items which are present at cash flow statements in sequence.

1 Answers   Baidu, Karvy,


hey frnds smbody plzz tell me abt the interview of sbi... has anybody given it?????

0 Answers  


when wil the SBM clerical interview results be announced? and how??

0 Answers  


valuation of share is it base of the company reputation

0 Answers  


Explain your methods for resource allocation

0 Answers  


what salary do you expect on this job?

2 Answers  


what is stand for PPPP?

0 Answers   CSD Bangladesh,


Interview Body Language that Sends the Right Message?

1 Answers  


You have a pilot whom you must inform that she will be working tomorrow. Her schedule says she's off, but now you have to call her back in. What will you say to the pilot?

0 Answers  


According to a novel by Alexander Dumas, how do we know Edmond Dantes better?

0 Answers   NPL,


Categories