In the C programming language, a string is a sequence of characters. A number, on the other hand, is a numeric value. To check if a string is a number, you can use the `isdigit()` function from the `ctype.h` header file. This function takes a character as its argument and returns a non-zero value if the character is a digit, or zero otherwise.
Here is an example of how to use the `isdigit()` function to check if a string is a number: