Question d’entretien chez BlackBerry

Write a function that will return x*7 without using multiplication?

Réponse à la question d'entretien

Utilisateur anonyme

8 nov. 2014

tmp = x; x <<= 3; x -= tmp;