Question: there is another option for the question i could not put it in the image below is the fifth option i.e it displays '0' because
7 8 9 Fint main() { float y = 56; const float *ptr ptr++; printf("%5.2f" return 0; &y; 10 11 *ptr); 12 13 Which one of the following choices most correctly explains working of the a code? It displays 57 as the value is indirectly increased using pointer 'ptr'. It displays a garbage value because the pointer 'ptr' was not dereferenced line # 10. It displays O because it reinitializes 'y via pointer 'ptri It gives a syntax error as pointer 'ptr is declared as constant, yet it is incremented on line # 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
