c isdigit function
#include <stdio.h>
#include <ctype.h>
int main()
{
char c;
c='0';
printf("Result when numeric character is passed: %d", isdigit(c));
c='+';
printf("\nResult when non-numeric character is passed: %d", isdigit(c));
return 0;
}
Non-zero integer ( x > 0 ) Argument is a numeric character.
Zero (0) Argument is not a numeric character.isdigit(myChar);
Also in C:
- sum of arrays
- how to zoom in terminal
- how to find the nth row of pascal's triangle in c
- c \a
- limit axis in one direction plt
- !isdigit c
- bash: apt-add-repository: command not found
- import a library in c
- Declare macro
- Print the number 0 using write()
- android is not recognized
- open url from dev cpp
- fibonacci sequence single recursive call
- convert string to float c
- for statement in c
- sdl audio
- rakshabandhan 2020
- write a program to ask the user 8 integer numbers. your program will then move all negative elements of your array to the end of the array without changing the order of positive elements and negative elements
- printf("%3d ",XX);
- scanf read line
- how to modulo decimal c
- c check if char is an operator
- cmd command with c
- c fork wait for child