All India Exams
Home AptitudeBankEngineeringEnglishGKInterviewOnline TestPlacement PapersReasoning
  • Home
  • Aptitude
  • Bank
  • Engineering
  • English
  • GK
  • Interview
  • Online Test
  • Placement Papers
  • Reasoning

C Operators Questions And Answers

Here you can find C Operators Questions and Answers.

Why C Operators Questions and Answers Required?

In this C Operators Questions and Answers section you can learn and practice C Operators Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. By Practicing these interview questions, you can easily crack any Bank Exams interview.

Where can I get C Operators Questions and Answers?

AllIndiaExams provides you lots C Operators Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download C Operators Questions and Answers as PDF files and eBooks.

How to solve these C Operators Questions and Answers?

You no need to worry, we have given lots of C Operators Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.

C Operators Questions & Answers

1. What is the output of this C code? int main() { int i = -5; int k = i %4; printf("%d\n", k); }

C Operators Questions & Answers

2. What is the output of this C code? int main() { int i = 5; int l = i / -4; int k = i % -4; printf("%d %d\n", l, k); return 0; }

C Operators Questions & Answers

3. What is the output of this C code? int main() { int i = 7; i = i / 4; printf("%d\n", i); return 0; }

C Operators Questions & Answers

4. What is the value of x in this C code? void main() { int x = 4 *5 / 2 + 9; }

C Operators Questions & Answers

5. What is the output of this C code? void main() { int x = 4.3 % 2; printf("Value of x is %d", x); }

C Operators Questions & Answers

6. What is the output of this C code? void main() { int y = 3; int x = 7 % 4 * 3 / 2; printf("Value of x is %d", x); }

C Operators Questions & Answers

7. What is the output of this C code? void main() { int a = 5; int b = ++a + a++ + --a; printf("Value of b is %d", b); }

C Operators Questions & Answers

8. The precedence of arithmetic operators is (from highest to lowest)?

C Operators Questions & Answers

9. Which of the following is not an arithmetic operation?

C Operators Questions & Answers

10. Which of the following data type will throw an error on modulus operation(%)?

- Page 5
Home EngineeringComputer Science & EngineeringC Multiple Choice Questions & AnswersC Operators

C Operators - C Multiple Choice Questions & Answers

This is the c programming questions and answers section on "Operators" with explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand.

C Operators Questions

Online Test Name C Operators
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 73
21. What is the type of the below assignment expression if x is of type float, y is of type int?
        y = x + y;
  • A. int
  • B. float
  • C. There is no type for an assignment expression
  • D. double
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


22. What is the value of the below assignment expression
      (x = foo())!= 1 considering foo() returns 2
  • A. 2
  • B. true
  • C. 1
  • D. 0
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


23. Operation "a = a * b + a can also be written as:
  • A. a *= b + 1;
  • B. (c = a * b)!=(a = c + a);
  • C. a = (b + 1)* a;
  • D. All of the mentioned
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option D

Explanation:

None.

Workspace

Report Error


24. for c = 2, value of c after c <<= 1;
  • A. c = 1;
  • B. c = 2;
  • C. c = 3;
  • D. c = 4;
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option D

Explanation:

None.

Workspace

Report Error


25. What is the output of this C code?

    int main()
    {
        int a = 1, b = 2;
        a += b -= a;
        printf("%d %d", a, b);
    }
  • A. 1   1
  • B. 1   2
  • C. 2   1
  • D. 2   2
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

None.

Workspace

Report Error


  • «
  • 1
  • 2
  • ...
  • 3
  • 4
  • 5
  • 6
  • 7
  • ...
  • 14
  • 15
  • »

Related Topics:

  • File Access
  • Conditional Expressions
  • Declarations
  • Variable Names
  • Control Flow Statements
  • C Data Types
  • C Functions
  • Typedef
  • Pointers
  • Structures, Unions, Bit-fields

Mock Tests & Online Quizzes

  • Aptitude Online Test

  • Reasoning Online Test

  • GK Online Test

  • English Online Test

  • RRB Mock Test

  • RBI Mock Test

  • Free SBI Mock Test

  • IBPS Mock Test FREE

  • SSC Mock Test

  • CAT Exam Mock Test

  • GATE Mock Test

  • IT Courses Quiz

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions

Programming Quiz

  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • Python Programming
  • DataScience MCQ
  • Hadoop MCQ
  • Mongo DB MCQ
  • MySQL MCQ

Interview Questions

  • Java Interview Questions
  • .Net Interview Questions
  • Networking Interview Questions
  • C Language Interview Questions
  • C++ Interview Questions
  • Testing Interview Questions
  • Android Interview Questions
  • HR Interview Questions
  • Group Discussion Topics

Our Sites

AView.in

© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy