Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h> // Responsavel por malloc , calloc , realloc e free
- using namespace std;
- struct x{
- int x;
- int y;
- int z;
- };
- int main(){
- struct x Strutura;
- int vectorX[50];
- cout<<"Tamanho de memoria Usada "<<sizeof(vectorX)+sizeof(x)<<":Bytes"<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement