I am new to C programming and I am having problems understanding common pitfalls and common usages of different library functions in C programming. Can some one point me to a good resource where I can learn subtleties in C programming. Also can some one point me to a good resource learn debugging tools like gdb.
Also I want to know what is the difference between char *c="hello"; and char c[10]="hello" . Can some one tell me which one is recommended over the other in different situations.
Thanks & Regards,
Mousey.
Just read The C Programming Language and write code. If you’re new to it then you need first-hand experience so you can learn what the subtleties are. Just reading a list won’t help a huge amount.