title: Read socket and memorization not working as expected
body: <p>I've the following problem with this code:</p>
  
  <pre><code>#define success "success"
  #define fail "fail"
  char *verify = fail;
  char b[1024];
  
  int main(){
     ...
     ...connect to server code...
     ...
     read(sock,verify,1024);
     printf("%s",verify); //there's the problem, it always prints fail. If I change with this:
     read(sock,b,1024);
     printf("%s",b); //this works and prints the received string.
  }
  </code></pre>
  
  <p>Can you help me to understand? The problem is in this part of this code or should I check elsewhere?</p>
  
  <p>If I do an easy assign in the code like 'verify=success' it seems to works fine, reading from a socked isn't the same as an asisgnation?</p>