Operators in C Language

  • Relational Operators
  • Logical Operators
  • Assignment...
    View Complete Description
    ×

    Topic Summary

    • Relational Operators
    • Logical Operators
    • Assignment Operator
    • postfix and prefix
    • increment and decrement operators
27
Questions
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Operators in C Language

  • 1 Which of the following has the highest precedence
    1. * / %
    2. + -
    3. -
    4. --

  • 2 Which of the following has the highest precedence
    1. ()
    2. * / %
    3. + -
    4. ++

  • 3 +=,-=,*=,/=,%= are ____.
    1. Arithmetic unary operators
    2. Arithmetic Binary operators
    3. Assignment operator
    4. Arithmetic assignment operators

  • 4 _____ is an assignment operator
    1. <
    2. >
    3. *
    4. =

  • 5 (+,-) and (++,--) are _____ .
    1. Arithmetic unary operators
    2. Arithmetic Binary operators
    3. Assignment operator
    4. Arithmetic assignment operators

  • 6 What does the following code print on screen? 
     
    cout << sizeof(double);
    1. 1
    2. 4
    3. 8
    4. 10

  • 7 Which of the following operators has the lowest precedence?
    1. !=
    2. &&
    3. ?:
    4. ,

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert