There exist different assignment operators in C which are used to form assignment expressions that assign the value of an expression to an identifier. The general form of the simple assignment operator is given below: identifier = expression; Here, ‘=’,…
Expressions and Escape Sequences in C
Expressions An expression in C programming is defined as any valid combination of different entities like constants, variables, array elements or reference to functions. It can consist of some combination of such entities that are interconnected by one or more…
Symbolic Constants in C
A symbolic constant can be defined as a constant that is represented by a name (symbol) in a program. Like a literal constant, a symbolic constant cannot undergo changes. Whenever the constant’s value is needed in the program, the name…
Constants in C Programming
Constants can be defined as the values that cannot be modified or altered by a program. Constants can be numbers, characters or strings. They are named as integer constants, floating point constants, character constants and string constants. A constant can…
Variables in C Programming
In C programming, a variable is a named location in the computer’s memory that is used to contain a value which can be modified by a program. A variable can be defined by using a numerical digit (0 – 9),…
The ‘void’ data type
The void data type, in simple words, means ‘nothing’. This data type either explicitly declares a function that doesn’t return any value or creates generic pointers. There are different functions available in C programming that do not return any value.…
The ‘float’, ‘double’ and ‘long double’ data type
The integer data types are very useful when it comes to the process of software development. However, there arises the necessity of using floating-point numbers when financially and mathematically oriented programs are to be developed. Hence, the data types like…
The ‘char’ data type in C
In C programming, the char data type comes handy for storing characters like letters and punctuation marks. However, from a technical point of view, it is an integer type, because the char type actually stores integer values, not characters. To…
Character Set, Tokens, Keywords and Identifiers in C
This is the second post in ‘Fundamentals of C Programming‘ category after ‘Introduction to C Programming‘. The topics that this post will cover are: Character Set in C Tokens in C Keywords in C Identifiers in C Character Set in…