title: how can i compare a user defined variable with character in if else statement in C?
body: <p>In if  else condition I want to compare user input variable with character so that if any character is typed by user it can be detected. How can I do this?</p>
  <p>if ( i == (any character typed by user) )</p>