brintos

brintos / llvm-project-archived public Read only

0
0
Text · 309 B · df321a7 Raw
21 lines · c
1#include <stdlib.h>2 3int printf(const char * __restrict format, ...);4 5typedef struct {6    int a;7    int b;8} MYFILE;9 10int main()11{12    MYFILE *myFile = malloc(sizeof(MYFILE));13 14    myFile->a = 5;15    myFile->b = 9;16 17    printf("%d\n", myFile->a + myFile->b); // Set breakpoint 0 here.18 19    free(myFile);20}21