Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Pointer type void

void* a; // pointer variable with unspecified target type
  • Assignment from any pointer type to void* valid
  • No address arithmetic on void* because size of elements unknown
  • Cast to non-void pointer required before usage:
double* d[10];

a = &d;
/*
↓ Derefence double* */
* (double*) a = 3.2;
/*    ↑ Cast a to double*  */
If you want to change selection, open document below and click on "Move attachment"

pdf

owner: pavestonelaboringuntitled - (no access) - 02 C Programming.pdf, p48


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.