C is a general-purpose high level language. It was developed for the Unix operating system. C is a successor of Basic Combined Programming Language called B language, developed in the 1960s at Cambridge University. B was further modified by Dennis Ritchie at AT&T Bell Laboratories in 1972. This new language was called C language. More info.
Keywords are those words who has special meaning for compiler. We can't use kaywords as variable name. More info.
Data types are used to define a variable. Data types represents the type of information present in a variable. Data types are the keywords, which are used for assigning a type to a variable. More info.
Variables are used to store values. variable name is the name of memory location where value is stored. It must be alphanumeric, olny underscore is allowed in a variable name. It is composed of letters, digits and only underscore. It must begin with alphabet or underscore. It can not be begin with numeric. More info.
An operator is a symbol that tells the compiler to perform specific mathematical or logical calculations on operands(variables). More info.
Flow control or if-else statements are used, when we have to take decision, depending upon certain condition. More info.
Loops are used, when we need to execute one or more statements multiple times until some conditions are satisfied. More info.
Jump statements are used to interrupt the normal flow of program. More info.
A function is a block of codes that performs a specific task and may return value. The main() function is the first user defined function invoked by the compiler. More info.
Storage Classes defines the scope and life time of variable declare in a function. More info.
When a function calls itself from its body is called Recursion. More info.
Array is a collection of similar data type. A single variable can hold only one value at a time, If we want a variable to store more than one value of same type we use array. More info.
A normal variable is used to store value. A pointer variable is used to store address / reference of another variable. More info.
A string is a collection of characters, stored in an array followed by null ('\0') character. Null character represents the end of string. More info.
Structure is commonly reffered to as user-defined data type. Structure is similar to an array but the only difference is that array is collection of similar data type onthe other hand structure is collection of different data type. A structure can contain any data type including array and another structure as well. More info.
Both structure and union are collection of different datatype. They are used to group number of variables of different type in a single unit. Structure allocates different memory locations for all its members while union allocates common memory location for all its members. The memory occupied by a union will be large enough to hold the largest member of the union. More info.
Bit field can be used to reduce memory consumption when it is known that only some bits would be used for a variable. Bit fields allow efficient packaging of data in the memory. More info.
As we know, at the time of execution, every program comes in main memory to execute. Main memory is volatile and the data would be lost once the program is terminated. If we need the same data again, we have to store the data in a file on the disk. More info.
The preprocessor include the instructions for the compiler, these instructions are executed before the source code is compiled. Preprocessor directives begin with hash sign(#). No semicolon (;) is expected at the end of a preprocessor directive. More info.