Created
September 9, 2016 13:26
-
-
Save rohan-varma/e7240fb0a85432a7cca49d420677a869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int* getProductsOfAllIntsExceptAtIndex(int* arr, int len) { | |
int* x = new int[len]; | |
for(int i = 0 ; i < len ; i++) { | |
x[i] = getProduct(arr, len, i); | |
} | |
return x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment