void * ptr0 = (void*)"Buffer_1";
int size0 = sizeof(ptr0);
// WILL THIS RETURN THE NUMBER OF BYTES OCCUPIED BY THE MEMORY POINTED BY ptr0?
My requirement is
1) store some data in buffer & create a void* pointer to it which I am doing in 1st line.
2) Later I want to get the size of this buffer in BYTES. The 2nd line will do this job.