why we use cin.get() and getline fun ?
we can also take input of array of string in different way.
Regarding take input
@ranjan.prashant3655 hey cin.get () and getline is use to take input of string with spaces ,it consider string with spaces as one string or consider space as character of string,yes you can take input of array of string like normal array also.get and getline are another ways to get input.