char *foo
char* foo
char* foo, bar;
[1] as per Rule of Maximum Astonishment.
char* foo = NULL;
char bar = 0;
are preferable. Is there any reason one would want to smash N declarations into one?
Simply put, it would sense to provide
#define CharPointer char*
char c = 'a'; CharCointer p = &c;
[DllImport("user32.dll")] static extern IntPtr CallWindowProc(WndProcDelegate lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
> It has different size and behavior.
*foo
*foo = 'a';
type* foo;
[1] as per Rule of Maximum Astonishment.