C
C is a general-purpose, procedural, high-level programming language used in the development of computer software and applications, system programming, games, and more.
- C language was developed by Dennis M. Ritchie at the Bell Telephone Laboratories in 1972.
- It is a powerful and flexible language which was first developed for the programming of the UNIX operating System.
- C is one of the most widely used programming languages.
- C programming language — often referred to as the “mother of all programming languages”
- C is known for its simplicity of expression, compactness of code, and wide range of applicability.
C Syntax
We created a C file called helloworld.c, and we used the following code to print "Hello World" to the screen:
printf("Hello, World!\n");
C Data types
- Data Types: Primitive data types are the most basic data types that are used for representing simple values such as integers, float, characters, etc.
- User Defined Data Types: The user-defined data types are defined by the user himself.
- Derived Types: The data types that are derived from the primitive or built-in datatypes are referred to as Derived Data Types.