So size information is not passed with the array, which actually makes sizeof meaningless. Thanks for that information, it helped me solve my problem.
In fact the sizeof was debugging info I wanted...
Type: Posts; User: 2noob2banoob
So size information is not passed with the array, which actually makes sizeof meaningless. Thanks for that information, it helped me solve my problem.
In fact the sizeof was debugging info I wanted...
HI,
I am trying to pass a multidimensional array to a function with the following code:
#include <stdio.h>
#include <stdlib.h>
void printSize (char x[][3][3]) {
printf("size of x:...