Assignment Operators in C Programming
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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, ‘=’, which is the simple assignment operator, assigns the value of expression to the identifier. Simple […] The post Assignment Operators in C Programming appeared first on Educate Sansar ..read more
Visit website
Operators and Description of Arithmetic Operators
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
Operators C is a rich language when it comes to the number of built-in operators. An operator is a symbol which gives instructions to perform any kind of operation, or action, on one or more operands. An operand is something upon which an operator acts to give a result. Operators that require two operands are […] The post Operators and Description of Arithmetic Operators appeared first on Educate Sansar ..read more
Visit website
Expressions and Escape Sequences in C
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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 operators. In C, every expression has a value and this is an important feature of […] The post Expressions and Escape Sequences in C appeared first on Educate Sansar ..read more
Visit website
Symbolic Constants in C
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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 of the constant is used in the same way as the name of a variable […] The post Symbolic Constants in C appeared first on Educate Sansar ..read more
Visit website
Constants in C Programming
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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 either be a literal constant or a symbolic constant. A literal constant is the constant […] The post Constants in C Programming appeared first on Educate Sansar ..read more
Visit website
Variables in C Programming
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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), an uppercase or lowercase character (A – Z or a – z) and the underscore […] The post Variables in C Programming appeared first on Educate Sansar ..read more
Visit website
The ‘void’ data type
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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. In short, we can say that those functions return void. A function with no value […] The post The ‘void’ data type appeared first on Educate Sansar ..read more
Visit website
The ‘float’, ‘double’ and ‘long double’ data type
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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 float, double and long double come handy in such conditions. The floating-point allows the programmer […] The post The ‘float’, ‘double’ and ‘long double’ data type appeared first on Educate Sansar ..read more
Visit website
The ‘char’ data type in C
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
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 store and recognize the characters, a computer uses a numerical code in which the characters […] The post The ‘char’ data type in C appeared first on Educate Sansar ..read more
Visit website
The ‘int’ Data Type in C
Educate Sansar | Fundamentals of C Programming
by Sagun Raj Lage
3y ago
The data types of a programming language determine the way a computer organizes data in its memory. C offers five basic data types: char int float double void Each of these data types are represented differently within the computer memory. The following figure illustrates the data types in C: The int  Data Type The int […] The post The ‘int’ Data Type in C appeared first on Educate Sansar ..read more
Visit website

Follow Educate Sansar | Fundamentals of C Programming on FeedSpot

Continue with Google
Continue with Apple
OR