Hello everyone, I am currently in the beginning stages of writing a C IRC bot, and I wanted to integrate something so that there would be a password that had to be provided in order to start it. I have started a way to either specify the password as an argument or by starting the bot normally, however neither are working. Also if I simply open the executable in a text editor, the password is perfectly readable inside of it. Is there any way to obscure the password in the executable and make if so that it actually works? Thanks.

Code:
int main(int argc, char *argv[]) {
  if ( argc > 1 ) {
    if ( argv[1] != password ) {
         puts ( "Password incorrect" );
         pause();
         exit ( 1 );
      }
    }
  else {
    printf ( "Please enter a password: " );
    scanf ( "%256%s", input );
    if ( &input != password ) {
      printf ( "Password incorrect\n" );
      pause();
      exit ( 1 ); } }
  puts ( "Password accepted" );
  pause();
  return 0; }