全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Generic pointer?

Definition 4.8 University Computer Science — Year 1 · 第 4 章 — Pointers and Arrays

A pointer to void, or generic pointer, holds an address without saying what is stored there. Any object pointer converts to it and back without loss, with no cast in C. It cannot be dereferenced nor used in pointer arithmetic: it must first be converted to a pointer to a real type.

在原文中阅读 →