title: Why does "hello" evaluate as true in a boolean condition?
body: <p>I have been doing work in C language as it was my first language from where i started.This time i was doing some coding with if else statement...and i find something which i cannot understand why it was happening.The code is as follow </p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;conio.h&gt;
  
  void main()
  {
      printf("How If - Else works\n");
  
      if("hello")
      {
          printf("Inside if\n");
      }
      else
      {
          printf("Inside else\n");
      }
  
      getch();
  } 
  </code></pre>
  
  <p>In this the output was Inside if....i want to know how this thing get evaluated inside the if statement and is there any restriction to what we pass in the if statement.</p>