hi salem,
Thanks for that detailed explanation of pointer and arrays.
I got some real good knowledge.
regards
bravetanveer
Type: Posts; User: bravetanveer
hi salem,
Thanks for that detailed explanation of pointer and arrays.
I got some real good knowledge.
regards
bravetanveer
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
{
....
hi all,
The way to dynamically allocate a 2D array is :
int a(*)[5];
a=(int (*)[5])malloc(sizeof(int)*5);