title: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
body: <pre><code>#include&lt;stdio.h&gt;
  #include&lt;iostream&gt;
  #include&lt;fstream&gt;
  #include&lt;string.h&gt;
  using namespace std;
  
  class base {
   public:
      int lookup(char c);
  }; // class base
  
  int base::lookup(char c)
  {
      cout &lt;&lt; c &lt;&lt; endl;
  } // base::lookup
  
  int main() {
      base b;
      char c = "i";
      b.lookup(c);
  } // main
  </code></pre>
  
  <p>On Compiling above code I am getting below error :</p>
  
  <blockquote>
    <p>g++ -c test.cpp test.cpp: In function ‘int main()’: test.cpp:20:10:
    error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]</p>
  </blockquote>