Pergunta de entrevista da empresa Barracuda Networks

Draw a 45 degree rotated square on command screen in C.