/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
struct str
{
size_t size;
char data[];
};
int main()
{
struct str *str = malloc(6 + sizeof *str);
printf("%p %p", (void*) &str->size, (void*) &str->data);
}