What is "Bus error"?

What is "Bus error"?

A bus error indicates an attempt to access memory in an illegal way,perhaps due to an unaligned pointer.

A ‘bus error’ is certain undefined behavior result type. The cause for such error on a system could not be specified by the C language. The memory accessibility which CPU could not address physically, ‘bus error’ occurs. Also, any fault detected by a device by the computer system can also be a ‘bus error’. These errors caused by programs that generate undefined behavior which C language no longer specifies what can happen.
Recursion in C
A programming technique in which a function may call itself....
What does static variable mean in C?
Static is an access qualifier that limits the scope but causes the variable to exist for the lifetime of the program....
Differences between structures and arrays
The following are the differences between structures and arrays: Array elements are homogeneous. Structure elements are of different data type....
Post your comment