I voted for 'Detail about How VPTR and Virtual table works'
what i am trying to say you atleast you have search on google. you will get easily.
double i; double * p = &i; double * q= p; p++; cout<<(int)p-(int)q<<endl;
sorry for not using " rule for writing code" Nest time i will use .
1. #include<iostream> 2. 3. #define _sizeoftype(T) ((int)(((T*)0)+1)) 4. 5. template...
#include <stdio.h> #define FAIRLY_LARGE 32767 int main(void) { char buf[FAIRLY_LARGE] = {0}; puts("Please enter the size of an int, in...
atleast you have to give some comments on every functions.
I was really confused in virtual functions that how it's internall works. Now I got everything from your post. Thanks
Separate names with a comma.