c - Pointer Division possible? -



c - Pointer Division possible? -

how can split , multiplicate 2 variables in c pointers? tried this:

int multiplicate(int *x,int *y) { *x**y; } int divide(int *x,int *y) { *x/*y; }

you missing return statement:

int multiplicate(int* x, int* y) { homecoming (*x) * (*y); } int divide(int *x,int *y) { homecoming (*x) / (*y); }

c pointers

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -