Both what1()
and what2()
are modifying strings passed as literals, that’s undefined behavior since such strings can be stored in read-only memory.
1
solved Error running program – C [closed]
Both what1()
and what2()
are modifying strings passed as literals, that’s undefined behavior since such strings can be stored in read-only memory.
1
solved Error running program – C [closed]