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 -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -