C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system.
Every C program has a main() function that is the entry point of the program.
C is a compiled language, meaning that the source code is compiled into machine code before it is executed.
C is a low-level language, meaning that it is closer to machine code than high-level languages like Python or JavaScript.
C does not support object-oriented programming
C is a statically typed language, meaning that the type of a variable must be declared before it is used.
C does not support strings as a primitive type. Instead, strings are represented as arrays of characters. You can import the string.h library to use string functions.
To declare a string:
char str[10] = "Hello\0";
In the example above, we declare a character array str with a size of 10. The string โHelloโ is stored in the array, and the null character \0 is used to terminate the string. We use the null character because we cannot assume that the string is the same size as the array. Arrays may be larger than the string they contain.
C provides a string library with common functions for manipulating strings