1) int k=0; int *ptr = &k; int k=0; int *ptr = &k;
Can I artificially give a pointer an address to another memory location?
noticeably so ptr = 0x10bac6138 ;
2) How can I create a variable so that its visibility zone is in main.cpp and main.hpp ?
extern variables. - LLENNptr = (int*)0x10bac6138;I will not write for risks. - nick_n_a