+ 2
why I am unable to run the scanf() function in c?
This code is not executing .pls help. #include<stdio.h> int main(){ float i ; printf("enter a number ="); scanf("%f", &i); printf("%f",i); return 0; } output : [Running] cd "c:\Users\lenovo\Desktop\New folder (2)\New folder\" && gcc input.c -o input && "c:\Users\lenovo\Desktop\New folder (2)\New folder\"input
3 Respuestas
+ 2
did create an executable file?
gcc <filename> -o <object_file name>
./<object_file name>
0
@slick bruh i already have one exe file . it is executed in exe file but not on vs code
0
its only happening with scanf() all others are working.