Ubuntu – C++ header files changes program break
I can't understand why this code prints different program breaks #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <stdio.h> #include <string.h> #include <ftw.h> #include <stdlib.h> int main() { int max_size = 1024; char* ptr[max_size]; int blockCount =…