func: static void goodB2G2() twoIntsStruct * data ; data = ( twoIntsStruct * ) malloc ( 10 * sizeof ( twoIntsStruct ) ); data [ i ] . intOne = i; data [ i ] . intTwo = i; for(i=0; i<10; i++) printIntLine ( data [ i ] . intOne ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); printIntLine ( data [ i ] . intTwo ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); 