1 char * get_string(int str_size){ 2 char * tmp = (char*)malloc(str_size); 3 int i=0; 4 char ch; 5 if(tmp==NULL) 6 return NULL; 7 8 while(i