#include<stdio.h>
int main(){
char name[20];
scanf(" %s", name);
if (name == 'James'){
printf("Welcome James");
}else{
printf("You are not James");
}
}
Hope you got my idea. I know this doesn't work. But is there any way to do something like this?