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

Expain testing proces of your company?

6 Answers   AppLabs,


What is the difference between Alpha and Beta Testing?

13 Answers   Motorola, Reliance,


what is the difference between reference key and foreign key

2 Answers   AZTEC,


what is Ping tests?

1 Answers   Crea,


what is web application testing and what is the difference between a client server application and web server application?

3 Answers   IndiumSoft,


In real time how Data base testing is done Manually? Mean to ask we write sql queries WHere, If you r using test management tool like HP QC

2 Answers   ABC,


what is the main difference between Compatibility testing and system testing

2 Answers   PlanetSoft,


u have 1000 of delete button in ur application ,how to check it out,.one by one ? or how to check it out by easy way?

3 Answers   ITC Infotech,


Give me some sertification courses in testing?

2 Answers  


What is Configuration management? Tools used?

1 Answers  


What is Check list for review test cases ?

1 Answers  


What is Static & dynamic Testing?

27 Answers   GE, Wipro,


Categories