Bus Error (core dumped) due to SIGBUS signal
Please note the behaviour of this program. I know that SIGBUS comes because of address mis-alignments in read/write acesses.
could anybody please explain the behaviour of the following program:
printf("\n a= ",a);
2 //input given
Bus Error (core dumped)
a //input given