-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I run a simple code, just to test acode for C. For recommend acode to my friends to learn C. When i run it, it shows a problem, didn't run perfectly.
int value; printf("Enter a value: "); scanf("%d", &value); printf("You entered: %d\n", value);
It only execute after i entered the value. Even the "Enter a value" portion. But if it's just a code with only a "printf" statement, it's fine, works perfectly. But not in code like given.
What is the problem. In the code runner or in my phone or in my code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels