Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bluetomcat
on July 8, 2016
|
parent
|
context
|
favorite
| on:
Building a C Compiler Type System – Part 1: The Fo...
The same reasoning applies to function declarations returning pointers:
int *f(void); // "*f()" returns "int" and "f()" returns "int *"
My habit is to always put a space between the type and the asterisk, regardless of whether there is an identifier:
sizeof(int *); x = (char *) y;
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: