This section contains about the secure coding practices which helps to make your code secure, reliable and fast.
1. Avoid using scanf():
Why => It leads to buffer overflow.
How to protect => use with %ms, and free. to allocate the space dynamically.
printf("Enter your name:\n");
printf("Hello %s!\n", str);