#include #include char secret[] = "ssssssss"; int check_credentials() { return 0; // something serious ;) } void A() { int authorized = 0; // non authorized by default char name[64]; authorized = check_credentials(); printf("What is your name? "); scanf("%s", name); if (authorized == 1) printf("%s, our secret is %s\n", name, secret); else printf("Only for authorized eyes\n"); } int main() { A(); }