Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
#include <stdio.h> struct student{ char *c; }; int main() { struct student s[2]; printf("%ld",sizeof(s)); return 0; }
How
3 Respostas
+ 3
Its depends on the machine.
if the size of the pointer is 8 bytes , you get 16
if 4 bytes , you get 8
+ 1
Thx
0
š what is the output and how?