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.



Question

Pointer type void

  • [...] required before usage:
Answer

Cast to non-void pointer

Example:

double* d[10];

a = &d;
/*
↓ Derefence double* */
* (double*) a = 3.2;
/*    ↑ Cast a to double*  */

Question

Pointer type void

  • [...] required before usage:
Answer
?

Question

Pointer type void

  • [...] required before usage:
Answer

Cast to non-void pointer

Example:

double* d[10];

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

Parent (intermediate) annotation

Open it
span> 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 <span>Cast to non-void pointer required before usage: double* d[10]; a = &d; /* ↓ Derefence double* */ * (double*) a = 3.2; /* ↑ Cast a to double* */ <span>

Original toplevel document (pdf)

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

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

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