Toptube Video Search Engine



Title:C pointers explained👉
Duration:08:04
Viewed:148,187
Published:06-10-2021
Source:Youtube

C pointers tutorial example explained #C #pointers #tutorial void printAge(int *pAge) { printf("You are %d years old\n", *pAge); //dereference } int main() { // pointer = a "variable-like" reference that holds a memory address to another variable, array, etc. // some tasks are performed more easily with pointers // * = indirection operator (value at address) int age = 21; int *pAge = &age; printAge(pAge); //printf("address of age: %p\n", &age); //printf("value of pAge: %p\n", pAge); //printf("size of age: %d bytes\n", sizeof(age)); //printf("size of pAge: %d bytes\n", sizeof(pAge)); //printf("value of age: %d\n", age); //printf("value at stored address: %d\n", *pAge); //dereferencing return 0; }



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :