using fflush(stdin) is not wrong...
it actually clears the input stream of any unintended characters, like when you use a loop to take a string input character by character, first time you press a...
Type: Posts; User: Shatroopa
using fflush(stdin) is not wrong...
it actually clears the input stream of any unintended characters, like when you use a loop to take a string input character by character, first time you press a...
use free(<struct pointer>); to delete the node