Question

b. Improve the code of exploit3.c and exploit4.c so that there are no warning messgaes from gcc even after using the flags in gcc -ansi - pedantic -wall

Fig: 1