Answers for "why scaf getting executed before print in elipse"

0

why scaf getting executed before print in elipse

#include <stdio.h>

int main()
{
    setvbuf(stdout, NULL, _IONBF, 0);

    int myvariable;

    printf("Enter a number:");
    scanf("%d", &myvariable);
    printf("%d", myvariable);

    return 0;
}
Posted by: Guest on April-30-2020

Code answers related to "why scaf getting executed before print in elipse"

Browse Popular Code Answers by Language