• Call Us: +91 9437911966
  • Email Us: info@studentstutorial.com
  • Home
  • C Examples
  • Server Side
    • PHP
    • Java
    • CodeIgniter
    • Laravel
    • JSP
    • JDBC
  • Frontend
    • HTML
    • CSS
    • Javascript
    • jQuery
    • AJAX
    • FPDF
    • TCPDF
  • APP & DB
    • Android
    • Cordova
    • SQL
    • Oracle
  • Project
C Tutorial C Introduction C Characteristic C Comments C Operator C Assign Operator C Arithmetic Oper.. C Logical Operator C Modulus Operator C Variable C Initialise Variable C Print F C Translators C Programming C Control Flow C If Else Statement C Nested If Else C Loops C While Loops C For Loops C Do While C Nested Loops

Relational and Logical operators

  • Students Tutorial
  • 08 jun 2020
   

This operator returrns remainder value.

  • In C and C++, all relational and logical operators as return 1 or 0.
  • If expression is true then return value is one, If expression is false then return value is 0.
  • Every non-zero is called true, when the value become zero, it is false.
  • Relational operators are: <,   >,   < =;> = == !=
  • Logical operators are: & &, 11!

Note: - ANSI-C prog.Lang supports bool data – type relational, Logical operator returns TRUE OR FALSE.

  1. ( ) parenthesis
  2. +, ─! Unary operator
  3. *, /, %
  4. +, ─
  5. <, >, < =, > =
  6. = =! =
  7. & &
  8. 11
  9. ? Conditional operators
  10. =

Relational Oprtators

Student Tutorial is a online tutorial for web design and development. Here you can find easy example and explanation for each tutorial.
Copyright © 2016-2023 Student Tutorial

Server Side

  • PHP
  • Java
  • CodeIgniter
  • Laravel
  • JSP
  • JDBC

Frontend

  • HTML
  • CSS
  • Javascript
  • jQuery
  • AJAX
  • FPDF

App & Database

  • Android
  • Cordova
  • SQL
  • Oracle