dbus: prefer char[][] to *char[]
makes data smaller: no need to store pointers to each item of the array char *x[] = { "a", "b", "c" }; memory looks like => "a" "b" "c" (&x) &a &b &c char x[][2] = { "a", "b", "c" }; memory looks like => (&x) "a" "b" "c"
Showing
Please register or sign in to comment