Pergunta de entrevista da empresa PwC

Difference b/w char and varchar ? What is substring ?