Seg Fault when initializing array

后端 未结 6 595
忘了有多久
忘了有多久 2020-12-11 03:57

I\'m taking a class on C, and running into a segmentation fault. From what I understand, seg faults are supposed to occur when you\'re accessing memory that hasn\'t been all

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 04:28

    The program is working perfectly when compiled by gcc, & run in Linux, Cygwin may very well be your problem here.

提交回复
热议问题