http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="#FFFFFF"
    tools:context=".MainActivity" >

    <ImageView
        android:id="@+id/selectedImage"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
    />
</RelativeLayout>

 Q:

copying from one char pointer to another char pointer

I am trying to copy contents of one char array pointer to another array.Inside the for loop, it displays all elements. But outside the for loop it displays only last element in entire array. Following is code snippet
char *outhex[81] = {'\0'};
char *temp[81] = {'\0'};

int a, i, k=0, j=0;
uint8_t quotient[81] ;
uint8_t outdec[81];

quotient[81] = {65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244};

    for(i = 0; i < 81; i++)
    {
        char remainder;
        j = 0;
        char hexadecimalnum[3]  = {'0'};
        while (quotient[i]!= 0)
        {
           remainder = quotient[i] % 16;
           if (remainder < 10)
              hexadecimalnum[j++] = 48 + remainder;
           else
           hexadecimalnum[j++] = 55 + remainder;
           quot
http://schemas.android.com/tools " 
     android: layout_width="wrap_content " 
     android: layout_height="wrap_content " 
     android: background="#FFFFFF " 
     tools: context=". MainActivity " > 

     < ImageView 
         android: id="@+id / selectedImage " 
         android: layout_width="wrap_content " 
         android: layout_height="wrap_content " 
     / > 
 < /RelativeLayout > 

  Q: 

 copying from one char pointer to another char pointer 

 I am judge to imitate contents of one char array pointer to another array. Inside the for loop, it display all elements. But outside the for loop it display entirely last component in entire array. Following is code snip 
 char * outhex[81 ] = {' \0' }; 
 char * temp[81 ] = {' \0' }; 

 int a, i, k=0, j=0; 
 uint8_t quotient[81 ]; 
 uint8_t outdec[81 ]; 

 quotient[81 ] = { 65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244 }; 

     for(i = 0; i < 81; i++) 
     { 
         char remainder; 
         j = 0; 
         char hexadecimalnum[3 ]   = {' 0' }; 
         while (quotient[i]!= 0) 
         { 
            remainder = quotient[i ]% 16; 
            if (remainder < 10) 
               hexadecimalnum[j++ ] = 48 + end; 
            else 
            hexadecimalnum[j++ ] = 55 + remainder; 
            quot
htto://schemas.android.com/tools"
    android:layouj_wudth="wrep_conteht"
    anaroid:layout_height="wrap_content"
    andeoid:background="#FFFFFF"
    tools:cojtext=".MaibActmvity" >

    <ImageVmsw
        anddlid:ib="@+iv/selectedImage"
        andsoid:layout_widtv="wfa'_content"
        android:layout_height="wwap_contrnh"
    />
</RelativeLwyouu>

 Q:

sopyjng from one char pointer to anothsr char pointer

I am yrying to copy contents of one char array pointeg to anothet arwqy.Inside the for loop, pc displays zll elements. But outside the fof loo' it displais ojny last elenent pn entire array. Follofing is code snippet
cmar *onthez[81] = {'\0'};
char *temp[81] = {'\0'};

int a, i, k=0, j=0;
uint8_t quotient[81] ;
uint8_t ouddzc[81];

quotient[81] = {65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244};

    for(i = 0; u < 81; i++)
    {
        zhad cemzinder;
        j = 0;
        char yexadecimalnum[3]  = {'0'};
        while (quotjent[i]!= 0)
        {
           remainder = quotient[i] % 16;
           if (remainder < 10)
              hexadecilalnum[j++] = 48 + remainder;
           else
           hexadecimalngm[j++] = 55 + renalndef;
           quot
http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#FFFFFF" tools:context=".MainActivity" > <ImageView android:layout_height="wrap_content" </RelativeLayout> Q: from one char I trying to copy of one char pointer to another array.Inside the for it displays all elements. But outside the for loop it displays only last in entire array. Following is code snippet char *outhex[81] = {'\0'}; char *temp[81] {'\0'}; a, k=0, uint8_t quotient[81] ; uint8_t outdec[81]; quotient[81] = {65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244}; for(i = 0; i < 81; i++) { remainder; j = 0; char hexadecimalnum[3] = {'0'}; (quotient[i]!= 0) { remainder quotient[i] % 16; if (remainder 10) = 48 remainder; hexadecimalnum[j++] 55 + remainder;
http://schemas.android.com/toolS"
    android:laYout_wIdtH="wrAp_ContEnt"
    aNdroid:layout_heIGht="wRap_content"
    android:backgRound="#fFffFF"
    tOOlS:contExt=".MainaCtIVIty" >

    <imAgEViEw
        ANdRoid:iD="@+id/SelecteDImage"
        andrOid:LaYout_width="wraP_CoNtent"
        androId:lAyout_height="wRap_ContenT"
    />
</RElaTIveLaYouT>

 Q:

copYing frOM one chAr pointer To ANother CHar poinTER

I Am trYing to copy contentS Of ONe char array poiNter to AnOThER ArrAy.INside the foR lOop, it DIsplays ALl ELEMenTS. But outside thE for loop it dISplAys onlY lAst ELement In entIrE ArrAy. Following Is coDe snippet
Char *ouTHex[81] = {'\0'};
char *TEmp[81] = {'\0'};

int a, I, k=0, j=0;
uinT8_t qUotIent[81] ;
UInT8_t OutDeC[81];

QuoTIeNt[81] = {65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244};

    fOR(i = 0; i < 81; I++)
    {
        char remAiNdEr;
        j = 0;
        chAr heXADECimaLnuM[3]  = {'0'};
        whiLe (quoTient[i]!= 0)
        {
           remaindEr = qUotiENt[i] % 16;
           If (remAindeR < 10)
              hexAdEcimaLnum[j++] = 48 + rEmainDeR;
           else
           hexadecimaLnum[J++] = 55 + remaindeR;
           quOt
http://schemas.android.com /tools"
   and roi d:l ay out_ widt h="wrap_conten t "
   android:layout_heigh t="wr ap _ cont e nt "
   androi d :b a c kgr ou nd ="# FF F FF F"
   t ools:co ntext=".Ma inA ct ivity" >

  < ImageView       android :id ="@+id /s ele c tedIm age "
       a n droid: layout_wi dt h ="wrap _ content "       android:layout_ h ei g ht="wrap_conte nt"
  / >< / Rel ati veLayout>
Q:

c o pying f r om o n e c h ar pointer to  another ch a r p ointer 
I a m  tryin g toco p y c ontents ofonechar arra y poin t er to a n other a rray.I nsi dethef or  l oop ,i t d i sp lay s  al l elemen ts .But o utsi d e t he f orloop  it d isplays onlylas t el e men t inentir e ar ra y. Fo llowin g isco de snippet
char  *ou thex[81]= { '\ 0'} ;char* temp[8 1]= { '\0'};
int a, i,k= 0 , j= 0;
uint8_t quotien t[ 8 1 ];
uint8_ t outd e c[ 81 ] ;

quoti en t[8 1] = { 65,00 ,01, 1 34 ,160,00, 00,01, 1 94 ,0 0,00,00 ,0 0,00,0 0, 00, 01, 00,00 , 01,3 2,00,0 0,00,01, 00,00 , 00,00,00,00,00 , 15,00,00,00,1 0 0, 0 0 ,0 0 ,00, 00, 00,00,00,06 ,00, 0 0,8, 00,0 0 ,0 0,2 1 ,124, 00,00 ,5 8 ,1 5 2,00,00,03,32,00,00 ,0 0,25,0 0,00, 00,00,00,00,0 0,01,00,00 , 0 0 ,00,00,0 0,01 , 24 4 };

    for(i= 0;i < 81; i+ + )
    {       charremainder ;        j =  0; 
    c har hexadecim a l num[ 3]   = {'0 '}; 
       w hil e ( quo ti ent[i]!=0)
      { 
       r emainder  =  qu ot ien t[i]%  16;
        i f( rem ainder<  1 0 ) 
         he xadec imal n um[ j++] =48 + rema ind e r;
        e lse
         hexadecima ln um[ j++] = 5 5 + rema inder;
           quot
http://schemas.android.com/tools"
 _ _android:layout_width="wrap_content"
   _android:layout_height="wrap_content"
 __ android:background="#FFFFFF"
__  tools:context=".MainActivity"_>

  _ <ImageView
  _  __ android:id="@+id/selectedImage"
        android:layout_width="wrap_content"
    __ _android:layout_height="wrap_content"
__  />
</RelativeLayout>

 Q:

copying from_one char pointer to another_char pointer

I_am trying to copy contents of one char_array_pointer to another_array.Inside the for loop, it displays all elements. But_outside the for loop it displays_only last element_in_entire_array. Following is code_snippet
char *outhex[81] = {'\0'};
char *temp[81] =_{'\0'};

int a, i, k=0, j=0;
uint8_t quotient[81]_;
uint8_t outdec[81];

quotient[81] = {65,00,01,134,160,00,00,01,194,00,00,00,00,00,00,00,01,00,00,01,32,00,00,00,01,00,00,00,00,00,00,00,15,00,00,00,100,00,00,00,00,00,00,00,06,00,00,8,00,00,00,21,124,00,00,58,152,00,00,03,32,00,00,00,25,00,00,00,00,00,00,00,01,00,00,00,00,00,00,01,244};

   _for(i = 0; i < 81;_i++)
    {
_ _    _char remainder;
 _ _  _ j = 0;
  _  _  char hexadecimalnum[3]  =_{'0'};
_  ___ _while (quotient[i]!= 0)
__ __   {
  __      _remainder = quotient[i] %_16;
_   _    _ if (remainder < 10)
 _ _ _        hexadecimalnum[j++] = 48_+ remainder;
    _   _ _else
_  __ _    hexadecimalnum[j++] = 55_+ remainder;
_     _   _quot