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...


How can your reverse a sentence("I LOVE MY COUNTRY" to
"COUNTRY MY LOVE I")

Answers were Sorted based on User's Feedback



How can your reverse a sentence("I LOVE MY COUNTRY" to "COUNTRY MY LOVE I")..

Answer / tanmoy saha

<?php

$main = 'I LOVE MY COUNTRY';

$main_arr = explode(' ',$main);
$rev_arr = array_reverse($main_arr);

echo implode(' ',$rev_arr);


?>

Is This Answer Correct ?    3 Yes 0 No

How can your reverse a sentence("I LOVE MY COUNTRY" to "COUNTRY MY LOVE I")..

Answer / uday

arr=split(str," ")
for i=ubound(arr-1) to 0 step-1
revstr=arr(i)&" "
next

Is This Answer Correct ?    5 Yes 3 No

How can your reverse a sentence("I LOVE MY COUNTRY" to "COUNTRY MY LOVE I")..

Answer / sushma

strReverse function in VB can reverse string

Is This Answer Correct ?    3 Yes 5 No

How can your reverse a sentence("I LOVE MY COUNTRY" to "COUNTRY MY LOVE I")..

Answer / ravi yellasiri

string s = "I LOVE MY COUNTRY";

// reverse string s
// "YRTNUOC YM EVOL I";
s = string.reverse(s);

// Split s with " " delimiter
string[] arr = s.split(" ");

// process till last-1 token
for(int i = 0; i < arr.Length-1; i++)
{
print (arr[i]);
print (" ");
}

// Print the last token...
print (arr[arr.Length-1]);

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Manual Testing Interview Questions

hi! this is vivek i am having some of the questions can u clarify it sir 1.what is the model you are following in software development?what is your testing process?

3 Answers  


How would you determine the performance of a web application by looking at the values of ‘Response Time’ and ‘Pages per Second’? What do you understand by the terms ‘Response Time’, ‘Pages per Second’, ‘Transactions per Second’?

0 Answers  


what are the bugs in job portals and hospital managemant projects..if anyone havin experience in testin these porjects then friends share your experience what could be the bugs

1 Answers   TCS,


Do you think tools are required for managing change. Explain and please list some tools/practices which can help you managing change.

0 Answers   Ordain Solutions,


with out any training on domain with out any document only with the help of build screen is it possible to write testcases

5 Answers   Ariba,


What is defect life cycle/

7 Answers   GE, Nokia, SunGard,


What are the differences between V-Model and Agile Model?

1 Answers   Mind Q Systems,


1.What is bidirectional traceability ??? and how it is implemented? 2.What is Automation Test frame work ? 3. Define the components present in test strategy? 4. Define the components present in test plan? 5. Have u written Test plan ?…. thank u!plz reply........

0 Answers   Covansys,


what is an inconsistent bug? how to resolve this kind of bugs?

2 Answers  


What are the tasks of test closure activities in software testing?

0 Answers  


what is bug life cycle?

7 Answers  


What is a failure?

0 Answers  


Categories