GoConqr has a new look! Let us know what you think.

Quiz

Test your C knowledge

christophetd 3 questions

Take the quiz

Questions in this quiz (3)

  1. 1What is the output of the following code ?

    Image for question 1
    1. A4 - 4
    2. B168 - 4
    3. C168 - 168
    4. D4 - 168
  2. 2What is the output of the following code?Image for question 2
    1. A42 - 42 - 4
    2. B43 - 42 - 4
    3. CCompilaton error
  3. 3What is the output of the following code?Image for question 3
    1. ACompilation error
    2. B5
    3. C1
    4. D2
    5. E3

Information

Description
Assume the code snippets are running on an architecture where : - memory addresses are 32 bits (i.e. sizeof(void*) = 4) - integers are 32 bits - characters are 8 bits
Language
English
Views
52
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?