#include<stdio.h> #include<stdbool.h> main() { int age; char name; printf("what is your name? "); scanf("%s",&name); printf("what is your age? "); scanf("%d",&age); printf("you're name is %s and you're age is %d.", name , age); return 0; }
char name;
char name[50];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)