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

what is the way to explain about project of 3 years experianced

3 Answers  


what is equivalence partition? what is the use of it?

5 Answers   Microsoft, Ready Test Go, Syntel,


What would be a person who is looking for a job in testing should put his jobprofile in some jobs websites like Naukri,Times,Monster,Etc,Etc.... as a QA or QC if He/She is trying for Manual or Automation Testing?

2 Answers  


How you will report a bug if u r doing adhoc testing..u are hopping from 1 link to 2nd...so on till 100th link and then there is bug..how will u report this bug...will you write all 100 steps?

3 Answers   Fiserv,


explain fault based testing technique.

1 Answers   Infosys,


Description--->There are 5 modules in my application. On every module there is a date box. In 1st module, date box is used for 2 submenus. My Question is ---> Should I have to write test cases for date box for every modules & submenus?

2 Answers  


What is the diff. Between Waterfall and Spiral model?

17 Answers   Covansys, IBM, Wipro,


what is basis for testcase review?

5 Answers   Verizon,


If someone had 2 months experience in manaul testing but not that much effetive knowledge then what he should do show experience or not in his C.V.

1 Answers  


Hi, Below is a question on white box testing. Kindly help me in answering it. How many test cases are needed to obtain 100% branch coverage. This question was asked in ISTQB foudation level exam - Dec21 2008. Read(A,C) If(A<10) then Print A; Endif If(C>100) then Print C is greater then A else if(C<100) then print only C Endif else Options - a. 4 b. 3 c. 2 d. 1 Kindly answer with explanation so that it would be easy to understand

6 Answers   ISTQB,


can u plz give an example for regression testing with example.

0 Answers  


Is an "A fast database retrieval rate" a testable requirement?

0 Answers   3i Infotech,


Categories