Cursusinhoud
C Basics
C Basics
Sizeof Practice
Determining the Byte Size of the int Data Type
main
#include <stdio.h> int main() { printf("Size of int type: %d bytes\n", sizeof(int)); return 0; }
Taak
Swipe to start coding
To find out how many bytes the short
data type occupies, you can employ the sizeof()
function.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 9
Sizeof Practice
Determining the Byte Size of the int Data Type
main
#include <stdio.h> int main() { printf("Size of int type: %d bytes\n", sizeof(int)); return 0; }
Taak
Swipe to start coding
To find out how many bytes the short
data type occupies, you can employ the sizeof()
function.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 9