How can I return the address of the target if i have the following struct and the prototype for the function is also as follows NOTE** I don't need ...
How can I return the address of the target if i have the following struct and the prototype for the function is also as follows NOTE** I don't need ...
I'm making a logging utility that tracks allocations and deallocations inside a library I made. My program didn't crash but I'm still skeptical about ...
The output looks like : Why is it that for p1 and p2 the address assigned is in increment of 1 and for p3 and p4 the address assigned is in incre ...
I have to write a function that will add an adress at the end of an array of pointers. Here is what I've done. I want to know if I did right and if no ...
I got address of a.two. I want to get same address to use reflect field. I tried to call UnsafeAddr, Addr, ... but, I couldn't get expects value. ...
I have this program. And I have some doubts. You can run it in your compiler. I am using gcc compiler in linux In this code add occupies the addres ...
How can I JMP to a specific address in C? I want to use This is not working, is there other way I can change the address of Program Counter?? ...
why does the hexadecimal value of pointer address returned is always in decreasing order? for example here int a was declared before int d, so it's ad ...
I observe some weird behavior today , the code is as follow : 1.) The only question I have is why cout theAddress for the above code would c ...
I am using Windows 7 and have a 64 bit and a 32 bit version of my program. The 32 bit version works perfectly fine, however, I am having issues with t ...
This program is supposed to create a dynamic memory vector. I'm pretty sure I'm using malloc correctly. My real problem is some syntax with pointers, ...
Someone explain why the next code returns a pointer inside ntdll.dll? PS: If call the function pointed by kernel32's export table a breakpoint is t ...
I had a working code that gave me the address of a mesh (if i'm correct): Now I want if thingie to assign different mesh adresses. One is mesh() fi ...
I just executed this code example: and this is what I got: So I wonder why is the second address shorter than the first one? ...
Wanting to truncate addresses for clarity. Not looking for improved code, just why the hex code subtraction does't seem to work properly. First resul ...
I have problem with pointers. This is working fine - but if i use function like: and then it prints "aa" instead of "ab". I know its probabl ...
I got the idea of pointers' logic generally, but there is an unclear point for me that is related to the piece of code underlain. Program prints f ...
My problem is q->next always prints the same address, but I assigned q = &x;. Why it is not printing different addresses? ...
My apologies, I know there are a million questions on pointers, arrays etc. although as basic as this is I just can't seem to find anything pointing ( ...
i'm working in C. What I'm trying to do is a function that will return an int containing an address pointing to an object. Then, use the int I receive ...