Logical Operator in C
C allows usage of three logical operators, namely, &&, || and !. These are to be read as ‘AND’ ‘OR’
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 moreProblem Statement : If a five-digit number is input through the keyboard, write a program to reverse the number. Answer:
Read moreProblem Statement : Two numbers are input through the keyboard into two locations C and D. Write a program to
Read moreProblem Statement: The length & breadth of a rectangle and radius of a circle are input through the keyboard. Write
Read more