Test your C knowledge

Descripción

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
christophetd
Test por christophetd, actualizado hace más de 1 año
christophetd
Creado por christophetd hace más de 9 años
28
0

Resumen del Recurso

Pregunta 1

Pregunta
What is the output of the following code ?
Respuesta
  • 4 - 4
  • 168 - 4
  • 168 - 168
  • 4 - 168

Pregunta 2

Pregunta
What is the output of the following code?
Respuesta
  • 42 - 42 - 4
  • 43 - 42 - 4
  • Compilaton error

Pregunta 3

Pregunta
What is the output of the following code?
Respuesta
  • Compilation error
  • 5
  • 1
  • 2
  • 3
Mostrar resumen completo Ocultar resumen completo

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Common Technology Terms
Julio Aldine Branch-HCPL
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush