In general, the chief executive officer (CEO) is considered the highest-ranking officer in a company, while the president is second in charge. However, in corporate governance and structure, several permutations can take shape, so the roles of both CEO and president may be different depending on the company.