Pointer initialisation gives segmentation fault
CASE .1 int *a; /* pointer variable declaration */ int b; /* actual variable declaration */ *a=11;//Not valid means you are not owner of the address where a now pointing it is unknown and accessing this will segfault/ a=&b;/* store address of b in pointer variable*/ This is going to be segmentation fault because the … Read more