char ch;
      if((ch>='a' && ch<='z') || (ch>='A' && ch<='Z'))
        printf("\n%c is an Alphabet", ch);
      else
        printf("\n%c is not an Alphabet", ch);
      getch();
      
      C language logo

      Check if alphabet

      Codiga's C Recipes

      Check whether the given char is alphabet or not

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.