#include <stdio.h> int main() { char ch[10]; scanf("%s",&ch); printf(ch); } On line scanf("% s", & ch); shows an error, but it is running and working, my question is, why does the Netbeans IDE 8.2 program show everything normally without any errors, but in the Geany 1.36 program it shows an error but is executed?