int globalX; char *globalString; int sub(int x) { return x; } int main(int argc, char *argv[]) { char *prompt = "str"; int y = sub(2); return y; }