What is string variable? A string variable is a variable that represents a string of characters or alphanumeric data whose value is not fixed on the program execution. A string variable starts with an alphabet and end with a dollar ( $ ) sign. For example: name$ address$ Share : Twitter