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

Explain stub in testing point of view?

0 Answers  


How do test documents in a project span across software development life cycle?

1 Answers  


I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?

0 Answers   CTS, TCS,


Which of the following is NOT included in the Test Plan document of the Test Documentation Standard: a) Test items (i.e. software versions) b) What is not to be tested c) Test environments d) Quality plans e) Schedules and deadlines

4 Answers  


Before starting to write a script, how will you find the test cases that have the same functionality? And how will you maintain the code?

0 Answers  


iam in a small company where testing is not having any process so somebody tell me answer what is ur company testing process?

3 Answers   HP,


what is single tire, 2tire 3 tire and so on upto ntire ? can ny one explain me about this in detail.

3 Answers  


What actually you(Testing) people do when a new project starts. i.e can you give clear idea how testing is integrated with Project development &Release

2 Answers   TCS,


What is agile testing ? how can we perform agile testing ?

0 Answers  


How do we run the database testing manually

2 Answers  


what is a buglist?

4 Answers  


Why did u choose testing why not developing.

10 Answers   CTS, SRA Systems,


Categories