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 3