I think this is a very simple thing for the code, but I am having problems with the syntax in C, I just programmed in C ++.
#include <stdio.h>
Obviously, this code is just a skeleton, but I wonder how I can get the connection between the function and the main work, and the syntax for printing the address pointed to by iptr itself? Since the function is not valid, how can I send all three values โโto the main?
I think the address looks something like this:
printf("Address of iptr variable: %x\n", &iptr );
I know this is a simple question, but all the examples that I found on the Internet just got the meaning, but it was defined as something like
int iptr = 0;
Do I need to create some arbitrary value?
Thanks!
source share