Suppose I have a simple C string:
char *str = "I am a string".
Question: Is it possible to access (read? Write?) From different streams to different characters of this line - will this cause any problems due to competitive access?
Question 2: is there a difference in the answer if the array is finite or dynamic?
Question 3: I assume that the answers to questions 1 and 2, whatever they may be, will be universal for C arrays of all kinds, not just strings. This is true?
PS In iOS, the GCD (Grand Central Dispatch) library, which is based on POSIX Threads, is used to work with threads, so I believe that the answer for pure C is also suitable for iOS.
Thank.