Top "Memory-address" questions

A number used to indicate a particular location in computer's memory.

Correct format specifier to print pointer or address?

Which format specifier should I be using to print the address of a variable? I am confused between the below …

c pointers format memory-address
Print the address or pointer for value in C

I want to do something that seems fairly simple. I get results but the problem is, I have no way …

c pointers memory-address
Accessing Object Memory Address

When you call the object.__repr__() method in Python you get something like this back: <__main__.Test object at 0…

python object memory-address repr
print memory address of Python variable

How do I print the memory address of a variable in Python 2.7? I know id() returns the 'id' of a …

python memory-address
Memory address of variables in Java

Please take a look at the picture below. When we create an object in java with the new keyword, we …

java memory-management jvm hashcode memory-address
How to print variable addresses in C?

When i run this code. #include <stdio.h> void moo(int a, int *b); int main() { int x; …

c pointers memory-address
Difference between logical addresses, and physical addresses?

I am reading Operating Systems Concept and I am on the 8th chapter! However I could use some clarification, or …

memory-management memory-address tlb mmu
C++ Double Address Operator? (&&)

I'm reading STL source code and I have no idea what && address operator is supposed to do. Here …

c++ stl operator-keyword memory-address
How to printf a memory address in C

My code is: #include <stdio.h> #include <string.h> void main() { char string[10]; int A = -73; …

c pointers printf memory-address unary-operator
Printing a variable memory address in swift

Is there anyway to simulate the [NSString stringWithFormat:@"%p", myVar], from Objective-C, in the new Swift language? For example: let …

swift debugging memory-address