Regarding largest string

if the input buffer is accepting the first ‘\n’ as a input
then why don’t it’s accepting second ‘\n’ given after second input.
why dont its accepting only one input if n=3

hello @khushiujjawal
the issue happens only when we read int and then string .
for any othercases program will run fine.

rewatch the video to get it better(watch it from 3:00 onwards)