p is a pointer variable and must store the address of x, written as:
p = &x;
But the program assigns:
p = x;
which means an integer is assigned to a pointer, causing a compilation error (type mismatch).
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.