Hdd on the verge of failing, suggestions for a new one? I'm looking for a new internal HDD (for a desktop if I have to state this), any suggestions? I'm looking around a $100 cap (around 1 TB) on it. If there aren't any brands to avoid or that are recommended, then I will get whatever to replace my current one. Thanks. Edit: Thinking of getting this one: =sr_1_1?ie=UTF8&qid=1367042027&sr=8-1&keywords=seagate+barracuda+1tb
Dynamic Memory Allocation This is regarding realloc specifically and I want clarification on it. I am unsure of where the pointers are going to point to exactly when I use realloc (when I get to the end of my array in the heap). When I realloc the array, where is ptr2 going to point to, the beginning of the new array or the current pointer of where ptr1 is at (ie. at spot 50)? Thanks. edit: Answer -> ptr2 points to beginning of memory block