memory-address
Get the address of class's object in C++?
Suppose I have a C++ class as follows: class Point { // imp开发者_开发问答lementing some operations[详细]
2023-03-05 22:12 分类:问答logical and virtual address
what is the exact difference between a logical and virtual address? The page table translates between virtual and physical, but then where does 开发者_JAVA百科the logical address come in?Logical addre[详细]
2023-03-05 14:12 分类:问答Treating an int as an address/pointer
I have a C function that returns an int that represents the 开发者_StackOverflow社区base address of some block in memory. If I wanted to treat the value of that int as an address (so that I could trea[详细]
2023-03-03 23:58 分类:问答x86 and dereferencing labels
I\'d like to load the address of the second value below into a register. Here is my code in Unix syntax:[详细]
2023-03-01 12:07 分类:问答How many bits are in a logical address?
Alright, so I\'ve done some searching around Stack and cannot find the answer to this question.I开发者_JAVA百科t\'s something that was mentioned in class, but the professor did not specifically say ho[详细]
2023-02-27 02:40 分类:问答Can you help me understand pointers and addresses?
How many byt开发者_开发技巧es can I store in one RAM address? And what is the size of one pointer?[详细]
2023-02-19 16:31 分类:问答Assign a value to a specific address
It is an interview question, which I came across at a book for interviews, and later in an interview.[详细]
2023-02-19 06:16 分类:问答Need to get the offset between a struct and one of it's fields in C
The title of the topic may as well be \"Is size_t enough to hold an address?\" I\'m trying to get the offset between a struct and one of it\'s fields and I\'m using a size_t variable to hold the offs[详细]
2023-02-18 09:13 分类:问答Pointer - inquiry
#include <stdio.h> #include <stdlib.h> int main( void ) { char *ptr1 = \"Hello World\\n\"; char *ptr2;[详细]
2023-02-17 22:04 分类:问答24 bit-address in hex
How many hex digits doe开发者_开发百科s a 24-bit memory address have?One hex digit corresponds to 4 binary digits(bits)[详细]
2023-02-17 00:31 分类:问答