Mar
21
#include <stdio.h>
#include <string.h>
void main() {
char *name=(char*)malloc(sizeof(50));
scanf(“%s”,name);
printf(“\nMy name is %s\r\n”,name) ;
}
Leave a Reply
No Comments
Mar
21
#include <stdio.h>
#include <string.h>
void main() {
char *name=(char*)malloc(sizeof(50));
scanf(“%s”,name);
printf(“\nMy name is %s\r\n”,name) ;
}