Difference between void pointer and null pointer?

1 answer

Answer

1085075

2026-03-10 15:20

+ Follow

A Null pointer has the value 0. void pointer is a generic pointer introduced by ANSI. Before ANSI, char pointers are used as generic pointer. Generic pointer can hold the address of any data type.

Pointers point to a memory address, and data can be stored at

that address.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.