#include #include int main(int argc, char** argv) { int fem_tall[5]; fem_tall[0] = 1; fem_tall[1] = 2; fem_tall[2] = 3; fem_tall[3] = 4; fem_tall[4] = 5; printf("Plass [4] %d\n", fem_tall[4]); fem_tall[5] = 6; printf("Plass [5] %d\n", fem_tall[5]);//s out of bounds, but accessing it might not immediately cause a segmentation fault because it might be adjacent to other writable data on the stack. fem_tall[54] = 7; printf("Plass [54] %d\n", fem_tall[54]); fem_tall[54372] = 7; printf("Plass [54372] %d\n", fem_tall[54372]); //This access is far out of bounds. It very likely points to a memory location that is outside the allocated stack space, leading to a segmentation fault when you attempt to access it. return 0; }