The following code receives seg fault on line 2: char *str = "string"; str[0] = 'z'; // could be also written as *str="z" ...
-
May 15, 2022
- 0 Comments