ques-7.pdf - 1 What type of errors are checked during...

This preview shows page 1 out of 1 page.

1. What type of errors are checked during compilation (a) divide by zero error(b) logical errors(c) run - time errors(d) syntax errors 2. The constant ‘\bis used for 3. Which of the following is a valid numeric constant 4. What is range of char data value? 5. Which of the following is the assignment operator in C (a) !=(b) = =(c) =(d) : = 6. What is output of following program ?main( ){intx;x= 4 + 2 % 8;printf(“%d”,x);} 7. The equality relational operator is represent by 8. main( ){int a=0; if(a) printf(“%d”,++a); else printf(“%d”, a+=2) ;}the output is 9. x=9-12/3+3*2-1, what is the value of x (a) -10(b) 10(c) 4(d) 2 10. Thefunction echoes the character typed on the screen
Image of page 1
  • Fall '19
  • #include, $1000

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes