Search:

Type: Posts; User: bravetanveer

Search: Search took 0.01 seconds.

  1. Thanks

    hi salem,

    Thanks for that detailed explanation of pointer and arrays.

    I got some real good knowledge.

    regards
    bravetanveer
  2. where have i found int (*)[5];

    Sorry for that message above:


    This is valid syntax.
    Actually, i was going through code for mp3, at that time i found this:

    [/QUOTE][/PHP][/CODE]
    struct mad_stream
    {
    ....
  3. 2D arrays:dynamic allocation and freeing

    hi all,

    The way to dynamically allocate a 2D array is :


    int a(*)[5];

    a=(int (*)[5])malloc(sizeof(int)*5);
Results 1 to 3 of 4