struct customer *p= malloc( sizeof( struct customer ) ); Given the sample allocation for the pointer "p" found above, which one of the following statements is used to reallocate ptr to be an array of 10 elements?
p = realloc( ptr, 10 * sizeof( struct ritesh));
realloc( ptr, 9 * sizeof( struct ritesh) );
p+= malloc( 9 * sizeof( struct ritesh) );
p = realloc( ptr, 9 * sizeof( struct ritesh) );