Post

Replies

Boosts

Views

Activity

Trace/BPT trap: 5 problem in m1 mac
hey i am getting a Trace/BPT trap: 5 error in a simple c language code. i am concatenating 2 strings. please if anyone knows help. the code is below: #include <stdio.h> #include <string.h> int main() { char x[10]= "hello"; char y[10]= "world"; strcat(x, y); printf("%s", x); } its a beginner code and i think its not picking up the library
1
0
3.3k
May ’22