Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <ctype.h>
- #include <string.h>
- #include <math.h>
- int main (void)
- {
- char name[5];
- printf("Name: ");
- scanf("%s", name);
- if (name == "alice" || name == "bob") printf("%s", name);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement