I am trying to use 'C' with FORTRAN , but first I need to learn some 'C' basics:
In the following code everything works fine except the call to print_c_data, i.e., and don't have any output to the pointer name. Can anyone explain me why?
void print_c_data(int w, int *s, char *name)
printf("x=%d\n and y=%d\n and the name is %s\n",w,*s);