title: how to convert the string to char in objective C
body: <p>how to convert the string to char in objective C. The following is the code i am using,</p>
  
  <pre><code>NSString *param = [paramsToPass objectAtIndex:0]
  [class gseInit:&amp;getData];
  [class gseCom:param];
  NSLog(@"%@", param);
  </code></pre>
  
  <p>at line No.3, I get the following warning,</p>
  
  <blockquote>
    <p>Incompatible pointer types sending 'NSString*' to parameter of type
    'char*'.</p>
  </blockquote>
  
  <p>so how to over come the above warning.Thanks in Advance.</p>