Interview Questions And Answers

Q: - Can a null pointer point to valid data?

No. A null pointer cannot point to valid data. This is because the value contained by a null pointer has been set to 0.

Submitted By:-Deepak            Email-ID: - deepakrana336@gmail.com

Q: - What can the null character do?

The null character (‘\0’) in C can be used to mark the end of a string.

Submitted By:-Deepak            Email-ID: - deepakrana336@gmail.com

Q: - Can a global variable be hidden by a local variable with block scope?

Yes

Submitted By:-Deepak            Email-ID: - deepakrana336@gmail.com