Efficient way to multiply with 7 Get link Facebook X Pinterest Email Other Apps # 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
Comments
Post a Comment