title: Is there a const function in C?
body: <p>I mean can we declare a function in C as const like</p>
  
  <pre><code>void fun(int iVar) const;
  
  int g_var = 1;
  
  void fun(int iVar)
  {
    //do some thing
    g_var = iVar;
  }
  </code></pre>