Test your C knowledge

Descrição

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
Quiz por christophetd, atualizado more than 1 year ago
christophetd
Criado por christophetd mais de 9 anos atrás
28
0

Resumo de Recurso

Questão 1

Questão
What is the output of the following code ?
Responda
  • 4 - 4
  • 168 - 4
  • 168 - 168
  • 4 - 168

Questão 2

Questão
What is the output of the following code?
Responda
  • 42 - 42 - 4
  • 43 - 42 - 4
  • Compilaton error

Questão 3

Questão
What is the output of the following code?
Responda
  • Compilation error
  • 5
  • 1
  • 2
  • 3

Semelhante

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