null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
2455641
Test your C knowledge
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
No tags specified
c
programming
computer science
technology
Quiz by
christophetd
, updated more than 1 year ago
More
Less
Created by
christophetd
over 9 years ago
30
0
0
Resource summary
Question 1
Question
What is the output of the following code ?
Image:
da921d9e-d301-4bf3-a1b4-599919d78f25 (image/jpg)
Answer
4 - 4
168 - 4
168 - 168
4 - 168
Question 2
Question
What is the output of the following code?
Image:
76da65dd-c660-475d-9da2-809c45fa92d0.JPG (image/JPG)
Answer
42 - 42 - 4
43 - 42 - 4
Compilaton error
Question 3
Question
What is the output of the following code?
Image:
a0f37a01-4e04-4175-8252-3109da3fdc6e.JPG (image/JPG)
Answer
Compilation error
5
1
2
3
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Common Technology Terms
Julio Aldine Branch-HCPL
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Browse Library