1) Modify how? By applying a transformation? By assigning an arbitrary value? By copying values from another array? 2) Which elements? All? A range? Those whose value satisfy a given predicate?
1) By assigning an arbitrary value 2) All But I also like to know what to do for all the others you mentioned. Tried to find the answers in the gdb manual "Debugging with gdb", but didn't find some. If you could point out where they are, I really appreciate it.