C Programming
Which one of the following will declare a pointer to an integer at address 0x200 in memory?
1. int *x; *x = 0x200
2. int *x = &0x200;
3. int *x = *0x200;
4. int *x = 0x200;
Which one of the following will declare a pointer to an integer at address 0x200 in memory?
1. int *x; *x = 0x200
2. int *x = &0x200;
3. int *x = *0x200;
4. int *x = 0x200;
No comments:
Post a Comment