Ein Beispiel:
#include "stdio.h"
int main(void)
{
typedef unsigned char BOOL;
const struct {
BOOL consent;
const char * consent_text;
double pl[2];
} thisx;
sprintf( (char*)&thisx,"OMG Yes!");
printf("%s\n",(char*)&thisx);
return 0;
}
Schreib einen Kommentar