1. Support
  2. OSLO
  3. OSLO Knowledge Base

Why doesn't CCL have pointers?

Synopsis

CCL and pointers.

Solution

They are not needed. The main reasons for pointers in C concern the structure of arrays, and passing function parameters by reference. CCL uses conventions similar to Fortran for these functions, allowing hidden structs on function stacks that provide information about variables and arrays passed by reference. CCL takes this approach because it provides more extensive parameter checking at runtime, a fundamental and conspicuous problem with C.