Test your C knowledge

Beschreibung

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 von christophetd, aktualisiert more than 1 year ago
christophetd
Erstellt von christophetd vor etwa 9 Jahre
27
0

Zusammenfassung der Ressource

Frage 1

Frage
What is the output of the following code ?
Antworten
  • 4 - 4
  • 168 - 4
  • 168 - 168
  • 4 - 168

Frage 2

Frage
What is the output of the following code?
Antworten
  • 42 - 42 - 4
  • 43 - 42 - 4
  • Compilaton error

Frage 3

Frage
What is the output of the following code?
Antworten
  • Compilation error
  • 5
  • 1
  • 2
  • 3
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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