Contact: aviboots(AT)netvision.net.il
31,111 questions
40,781 answers
573 users
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef char *StringP; int main(void) { StringP s; if ( (s = (StringP) malloc(16 * sizeof(char))) != NULL) { strcpy(s, "hello"); puts(s); free(s); } return 0; } /* run: hello */