#include <stdio.h> void main() { void copy_str(char *from,char *to); char *a="I am a teacher."; char *b="you are a student."; copy_str(a,b); } void copy_str(char *from,char *to) { while(*from) *to++=*from++; *to='\0'; }