Search:

Type: Posts; User: 2noob2banoob

Search: Search took 0.00 seconds.

  1. Problem solved

    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...
  2. passing multidimensional array to function leads to incorrect size detection

    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:...
Results 1 to 2 of 2