Answers for "c if isalpha"

C
4

isalpha c

#include <stdio.h>
#include <ctype.h> //this is isalpha's library

int main(void)
{
  string variable0 = "a";
  if (isalpha(variable1))
  {
    printf("this will print");
  }
  
  string variable1 = 1;
  if (isalpha(variable1))
  {
    printf("this will NOT print");
  }
}
Posted by: Guest on June-23-2020

Code answers related to "C"

Browse Popular Code Answers by Language