! the logical operator not in C
In this article we will learn about the NOT operator, written as !. This operator reverses the result of the
Read moreIn this article we will learn about the NOT operator, written as !. This operator reverses the result of the
Read moreProblem Statement: Write a program to calculate the salary as per the following table: Solution: /* C program to calculate salary
Read moreLet’s have an example to understand else if clause : /* else if ladder demo */ main( ) { int
Read moreC allows usage of three logical operators, namely, &&, || and !. These are to be read as ‘AND’ ‘OR’
Read moreThe if statement can take any of the following forms: if ( condition ) do this ; if ( condition
Read moreIt is perfectly all right if we write an entire if-else construct within either the body of the if statement
Read moreIt may so happen that in a program we want more than one statement to be executed if the expression
Read moreLike most languages, C uses the keyword if to implement the decision control instruction. The general form of if statement
Read moreDecision !!! we all need to alter our actions in the face of changing circumstances. If the weather is fine,
Read moreProblem Statement: If a four-digit number is input through the keyboard, write a program to obtain the sum of the
Read more