mirror of
https://gitlab.com/blau_araujo/cblc.git
synced 2025-06-16 09:06:37 -03:00
inversão de comentários
This commit is contained in:
parent
95d7296a8c
commit
8e424e2f72
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ int d3[] = {7,8,9};
|
|||
|
||||
int *v[] = {d1, d2, d3};
|
||||
|
||||
printf("Tamanho de v : %zu\n", sizeof(v)); // Imprime 8.
|
||||
printf("Tamanho de v[0]: %zu\n", sizeof(v[0])); // Imprime 24 (3*8).
|
||||
printf("Tamanho de v : %zu\n", sizeof(v)); // Imprime 24 (3*8).
|
||||
printf("Tamanho de v[0]: %zu\n", sizeof(v[0])); // Imprime 8 (Endereço tem 8 bytes).
|
||||
printf("Tamanho de d1 : %zu\n", sizeof(d1)); // Imprime 12 (3*4).
|
||||
#+end_src
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue