#include <iostream>#include <stdlib.h>using namespace std; int main() { int* arr = (int*)malloc(3 * 4); cout << sizeof(arr);}
Standard input is empty
8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!