Binary_Base_Basics.cpp
//create a function for palindrome check in binary string
create a function for palindrome check in binary string
create a function for palindrome check in binary string
string palindrome(string s){
    string rev="";
    for(int i=s.length()-1;i>=0;i--){
        rev+=s[i];
    }
    return rev;
}
string palindrome ( string s ) { string rev = " " ; for ( int i = s . length ( ) - 1 ; i >= 0 ; i -- ) { rev += s [ i ] ; } return rev ; }
create a function for palindrome check in binary string
create a function for palindrome check in binary string