Home > Back-end >  Novice seek guidance!!
Novice seek guidance!!

Time:10-09

Just started to learn C
Could you tell me why my "IQ" shows the "use of an uninitialized local variable"

CodePudding user response:

Is as described, you not initialized before use, afraid you mistake, now the new compiler this when error, slightly older compiler warnings, ancient antique compilers compile directly,

CodePudding user response:

reference 1st floor ggglivw response:
is as described, not initialized before use, you fear you cause errors, now the new compiler this when error, slightly older compiler warnings, ancient antique compilers compile directly,

So what should I do to don't complain, don't quite understand

CodePudding user response:

reference 1st floor ggglivw response:
is as described, not initialized before use, you fear you cause errors, now the new compiler this when error, slightly older compiler warnings, ancient antique compilers compile directly,

So what should I do to don't complain, don't quite understand

CodePudding user response:

The scanf is not scanf_s and line 11 are english_score
Line 15, you & amp; IQ placed behind the "% d"

CodePudding user response:

The
reference 4 floor X_chromosome reply:
is the scanf not scanf_s and line 11 are english_score
Line 15, you & amp; IQ placed behind the "% d"

2019 v can only be written above scanf_s

CodePudding user response:

Variable initialization could good, this is a good habit
  • Related