Regarding memset

in the video sir had used a word “memset” what does that mean?

Hey Nikhil, when you write int a[5] than 5 contigous blocks of memory got allocated for this array. These blocks can contain any garbage value.
If you want to set (providing value) these blocks with same value, you can use memset.
It is present in header file called cstring.h
consider the below explanation:
if you want to set all 5 blocks of array with a value 0 than you can use memset(a, 0, sizeof(a));

and what does cin.ignore() means ?

hey Nikhil,
cin.ignore() ignores/clears one or more characters from the input buffer.
you can use it when you want to throw away a specific number of characters from the input buffer manually.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.