New course! Every coder should learn Generative AI!
Try a free lesson+ 3
How sizeof() operator works??
1 Answer
0
it will return the size of a datatype.
so if int is 4, sizeof(int) == 4;
char is 8, sizeof(char) == 8
ect.
long
double
string
hope this halps :D