Mark Dylan is the name that will be stored in the Name variable.
NSString* Name = @"Mark Dylan";
This code will allow you to ask for their name and scan it into memory, which will be stored in the Name variable.
NSLog("What is your name?"); scanf("%@", &Name);
If you want to print a variable that you can use,
NSLog("Your name is %@", Name);
sss3d
source share