Relational and logical operators in C

C operators are a combination of arithmetic, relational, logical, and assignment operators. In this article we are going to learn about relational and logical operators in C. Fundamental similarity of all these logical and relational operators is these operators always results in either 0(FALSE) or 1(TRUE). Relational Operators Operator Description == Conditional equal != conditionalRead More »

Arithmetic operators in C

C uses arithmetic operators to do operations between two or more numeric operands. Operator Description + Addition – Substraction * Multiply / Division % Reminder ++ Increment — Decrement Addition operator Addition operator (Plus)(+) is useful to add any two given numeric operands. This results from the addition of two given operands. Substraction operator subtractionRead More »

C Decision making statements if-else

Decision-making statements are to decide to execute a set of instructions based on a conditional/logical expression. We can call this a conditional execution of statements. In C Programming keywords, “if,” “else” uses in making these conditional statements. Let’s see how these conditional statements work. if-else This if-else statement is a basic conditional statement in C.Read More »

C sizeof operator

sizeof is one of the operators that use in C programming. This operator gives the size(in bytes) of the given operator or data type. This operator provides different outputs on different machine architectures (like 16bit, 32bit, or 64bit). This sizeof keyword returns an unsigned long, let’s see below simple sizeof operator program. In conclusion, thisRead More »