[Github-comments] [geany/geany-plugins] Error in the geany code in c (#1008)

derskiy notifications at xxxxx
Thu Sep 17 11:15:46 UTC 2020


#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?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200917/a9986509/attachment.htm>


More information about the Github-comments mailing list