Answers for "isxdigit lib"

0

isxdigit lib

#include <ctype.h>
#include <stdio.h>

int main() {
   char c = 's';

   if (isxdigit(c) != 0) {
      printf("%c is a hexadecimal character.", c);
   } else {
      printf("%c is not a hexadecimal character.", c);
   }

   return 0;
}
Posted by: Guest on January-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language