C Programming Language

c bitwise opeartors, bitwise operators in c programming

C Bitwise Operators

C Programming Tutorial C Bitwise Operators In C programming language the data manipulation can be done on the bit level as well. In C programming language this is done through bitwise operators below a list of bitwise operators is given. Bitwise AND Operator (&) This is a binary operator and used to manipulate each individual …

C Bitwise Operators Read More »

c sizeof operator, comma operator

C sizeof Operator

C Programming Tutorial C sizeof operator It is a unary operator and returns the size of the operand in terms of bytes. It returns the size of any kind of operands like constant, variable, or any other data type. The size that sizeof operator returns are totally machine-dependent. For example, if the code is running …

C sizeof Operator Read More »

C conditional Operator

C Conditional Operator

C Programming Tutorial C Conditional Operator It is a ternary operator. They are represented by the symbols (? and :). They need three operands to perform any operation successfully. Expressions with conditional operator and operands (expressions) are collectively called the “conditional expression”. Syntax: Test Expression? Operand 1: Operand 2.Execution: Very first the test expression will …

C Conditional Operator Read More »

C Logical Operators logical operators in c

C Logical Operators

C Programming Tutorial C Logical Operators Many times in C programming we need to generate logical expressions by combining two or more expressions. This is possible only through C logical operators. The combination of expressions/conditions along with the logical operator is called the “Logical Expression“. The value of a logical expression will be either true …

C Logical Operators Read More »

C Relational Operators Basic C Programming

C Relational Operators

C Programming Tutorial C Relational Operators In this tutorial, we will be focusing on understanding the Relational Operators. These operators are used to show the order relation between two expressions. In fact, they are mainly used for the comparison between two expressions. the entire expression which involves two expressions along with the relational operator is …

C Relational Operators Read More »

C decrement Operator Basic C Programming

C Decrement Operator

C Programming Tutorial C Decrement Operator C programming language also supports another class of arithmetic operators that is decrement operator. As the name suggests this operator is used to decrement the value of any variable by 1. It needs only one operand to be performed. It is indeed called the unary operator. it is symbolically …

C Decrement Operator Read More »

C Increment Operator Prefix Increment Operator Post Increment Operator

C Increment Operator

C Programming Tutorial C Increment Operator In this tutorial, we will learn about the C increment operator. C programming language also supports another class of arithmetic operators that is an increment operator. As the name suggests this operator is used to increment the value of any variable by 1. It needs only one operand to …

C Increment Operator Read More »