Correct answer is (a) char
Explanation: The front() function returns a character from the string given as input. It takes in no arguments. It returns the first character that is present in the string. It can be used as “cout<<str.front();” which prints the first character from the variable “str”.