Assume these statements: int count = 100. int *ptr, *x; ptr = &count; Match the
ID: 3625995 • Letter: A
Question
Assume these statements: int count = 100. int *ptr, *x; ptr = &count; Match the expression with its type. count Ptr X *x &count; *&count; *Ptr &*Ptr &*ptr &*count int ** (pointer to a pointer to an int) int * (pointer to an int also called address of an int) Int illegal excrement. You cannot dereference an int.
Explanation / Answer
1. count ------> (c) 2.ptr ------> (b) 3.x ------> (b) 4.*x ------> (c) 5.&count ------> (b) 6.*&count ------> (c) 7.*ptr------> (c) 8.&*ptr ------> (b) 9.&ptr------> (a) 10.&*count ------> (d)