Efficient way to multiply with 7

# include<stdio.h>

int multiplyBySeven( int n)
  return (n<<3) - n;
}

/* Driver program to test above function */
int main()
{
int n = 48;
printf("%d", multiplyBySeven(n));

getchar();
return 0;
}

Comments