title: TypeCasting for string type to string
body: <p>This seems to be rather tedious but the requirement is below.
  I am getting input from an application which is string and is the datatype which i need to typecast to my pointer type.</p>
  
  <p>But the typecasting supports only physical appearance not the string type for ex</p>
  
  <pre><code> string a = "char";
   char b;
   int c = 82;
  
   b= (a)c; 
  </code></pre>
  
  <p>Here i need the typecasting of int c into char c and put in char b.
  I need to do in loop so macros wont be useful as its preprocessor</p>