Different types of operators

Some of the operators are:
  • Arithmetic operator: The operators which are is used to perform mathematical operations are arithmetic operators.
    • The various arithmetical operators are:
      • + for addition
      • - for subtraction
      • * for multiplication
      • / for division
      • % for modulus (modulo division-returns remainder)
    • Logical operator: The operators which are used perform test on multiple relations is known as logical operators.
      • The logical operators are:
        • && - AND
        • II - OR
        • ! - NOT
    • Relational operator: The operators which are used to compares the values of  two or more quantity are relational operator. They return either TRUE or FALSE in a logical form.
      • The relational operators are:
        • > greater than
        • < less than
        • <= less than or equal to
        • >=greater than or equal to
        • = = equal to
        • ! = not equal to
        • < > not equal to
    • Assignment operator: The operator which is used to assign a constant or variable to a variable is assignment operator.
      • the assignment operator
        • eg: LET a = 5

      What is arithmetic operator?

        • Arithmetic Operator: The operators which are is used to perform mathematical operations are arithmetic operators.
            • The various arithmetical operators are:
                • + for addition
                • - for subtraction
                • * for multiplication
                • / for division
                • % for modulus (modulo division-returns remainder)

          What is operator? What is operand?

          • Operators are the special types symbols or characters which are used to compute values, and perform different types of operations with operands.
          • Operands are the variables or constant values on which the operation is done.
          • In expression a + b
            • + is operator
            • a and b are operand
            • whole expression is called as the operation.
          •  Some operators are:
            • Arithmetic operator
            • Logical operator
            • Relational operator
            • Assignment operator

          Time To Have Fun

          Time To Laugh
          Time To Enjoy
          Time To Joke
          Time To Celebrate
          Time To SMS
          Time To Make Ullu
          Time To Know Life
          Time To Have Fun
          Time To Do Naughty Things
          Time To Listen Superhit Evergreen Songs

          What are keywords?

          • Keywords are special words which have meaning and are reserved by the translator of the language. So keywords are also known as reserved words.
          • Some keywords of Qbasic language:
            • CLS
            • REM
            • PRINT
            • LET
            • FOR
            • LEFT$
            • LEN
            • SELECT
            • END, etc
          • Some keywords of C language:
            • char
            • float
            • goto
            • int
            • const
            • void
            • for
            • do
            • auto
            • long
            • return
            • switch
            • struct
            • register, etc

          What are the data types used in C language?

          • The basic data types used in C language:
            • char - (character / string), - %c is the signature and memory consumption is 1 byte.
            • int - (integer), %d is the signature and memory consumption is 2 bytes.
            • float - floating point (single precision), %f is the signature and memory consumption is 4 bytes. 
            • double - (double precision), %id is the signature and memory consumption is 8 bytes.
            • short int - (16 bit integer)
            • long int - (32 bit integer)
            • long double - (precision floating point)

          What are the differences between Qbasic and C ?

          Qbasic ProgrammingC Programming
          • Qbasic is used to design application software.
          • C is used to design system software.
          • It supports both sub procedure and function procedure.
          • It supports only function procedure.
          • It has limited data type and around 159 keywords.
          • It has wide range of data types and has 32 keywords only.
          • It is sequential programming language.
          • It is object oriented programming language.
          • It is high level language.
          • It is middle level language. It can support assembly language.
          • Header file is not necessary.
          • Header file is not necessary to call.
          • Class is not used.
          • Class is supported.

          What are the features of C language?

          • The features of C language:
            • It is simple and easy to use.
            • It occupies less memory space.
            • More than one programmer can be the part of same program at a time.
            • Programs written in C are fast and efficient.
            • It has some features of high level and low level languages. Due to the middle level features it can be used to develop system programs and application programs.
            • It has enough numbers of inbuilt functions and operators.
            • It has variety of data types to represent different kind of data.

          Why Is C Also Called Middle Level Language?

          • C is also called middle level language because it combines elements of a high level language with some features of of assembler.

          Why Is C Called Structured Programming Language?

          • C is called structured programming language as a program in C language can be divided into small logical functional modules or structures with the help of function procedure.
          • To solve a large problem, C programming language divides the problem into smaller modules called functions or procedures each of which handles a particular responsibility, so, it is called structured programming language.