// also how do I access the command line using turbo c++ 3.0 on win 95 platformCode:#include<iostream> #include<conio> #include<stdlib> #define MAX 30 struct node{ int age; // 4 bytes char name[MAX]; // 30 bytes node *next; // 4 bytes (all pointers are the same size an ints) }; // this is a 32bit prog so 4 bytes 4 + 4 + 30 = 38bytes. int main() { int amount; cout<<"How many people to be stored >"; cin>>amount; // If I input 1 here... if(amount==0) abort(); else { cout<<sizeof(node); // Why does this say 40. } getch(); return 0; }
// Thank you for your guidence