January 2020
— Oops!!Sorry 😅
Well you're probably missing some subtle detail, you should pastebin a minimal code sample which segfaults for you
— No worries :)
— Wait
— Https://pastebin.com/x4TW38Zi
— Here it is,Generating a spiral matrix
— Ok, I'm having a difficult time looking at this code, my blood alcohol level does not help :D
— Wait for someone else to help
— Simple code for spiral matrix xD
— Sorry bro
— Thanks
— Just a suggestion, you can use do {...} while(A != tempA+1); loop
do {...} while(A != tempA+1);