brintos

brintos / llvm-project-archived public Read only

0
0
Text · 344 B · 0571a6b Raw
16 lines · c
1struct MyStruct {2  int before;3  char var[5];4  int after;5};6 7int8main()9{10  struct MyStruct struct_arr[3] = {{112, "abcd", 221},11                                   {313, "efgh", 414},12                                   {515, "ijkl", 616}};13  struct MyStruct *struct_ptr = struct_arr;14  return struct_ptr->before;  // Set a breakpoint here15}16