ques-57.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) syntax errors(b) run - time errors(c) divide by zero error(d) logical errors 2. A machine language program consists of instructions written in (a) keywords (b) 0’s and 1’s (c) mnemonics (d) english like words 3. Which of the following cannot be used as an identifier. (a) alphabet followed by digit(b) Library function name(c) alphabet(d) Keywords 4. The qualifier that may precede float is (a) signed(b) unsigned(c) Nothing to precede(d) long 5. If you declare array without the keyword static the elements will be set to (a) ones(b) zero(c) garbage value(d) null value 6. main( ){int a=5; float b=10,c;c=b%a;printf(“%f”,c);}output is——————– (a) 0.000000(b) 0.00(c) gives an error(d) 2.0 7. In an expression involving|| | | operator the evaluation (a) takes place from right to left(b) takes place from left to right(c) will be stopped if one of its components evaluates to false(d) will be stopped if one of its components evaluates to true
Image of page 1
  • Fall '19
  • null character, C library function

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