title: How to fix - assignment to ‘char’ from ‘char *’ makes integer from pointer without a cast
body: <p>I need to remove all the commas from my user input. The code is working but it's giving the warning "assignment to ‘char’ from ‘char *’ makes integer from pointer without a cast". I need to get rid of this warning. </p>
  
  <pre><code>removeCommas(argv[1]);
  
  printf("%s", argv[1]);
  
  return 0;
  
  
  
      for(i=0; i&lt;strlen(num); i++)
      {   
          c = *(num + i);
          if(c == 44)    
          {   
              *(num + i) = "";                                               
          }                        
      }       
  
  return 0;
  </code></pre>