Home > Back-end >  Rookie help! [introduction to QAQ] use the scanf section error!
Rookie help! [introduction to QAQ] use the scanf section error!

Time:10-28

Question: with just the vim editor system at Deepin learning programming, use the scanf segmentation fault...
Reason: just installed Deepin system yesterday, I put the offer 100 g D plate of this system, don't know if because of this, when using the scanf function is considered to be offended the important core data, and then burst error...

CodePudding user response:

Write the wrong
# include & lt; Stdio. H>

Int main ()
{
int i;
The scanf (" % d ", & amp; I);
The scanf (" % d \ n ", I);
return 0;
}
We have to do is

CodePudding user response:

Learned to
Learn to settle to points

CodePudding user response:

refer to the second floor cool99781 response:
learned?
Learn to settle stickers to
I was mentally retarded

CodePudding user response:

refer to the second floor cool99781 response:
learned?
Learn to settle stickers to
how to knot stick
  • Related