US fastfood chain McDonald's has announced that its president and chief executive officer Charlie Bell has resigned, effective immediately, in order to focus on fighting cancer.