Question: 18. a is a pointer to a variable. Which answer below returns the data (or value) pointed to by a? (i.e. which answer dereferences a)

 18. a is a pointer to a variable. Which answer below

18. a is a pointer to a variable. Which answer below returns the data (or value) pointed to by a"? (i.e. which answer dereferences "a") A. a; B. val(a); C. *a; D. &a; 19. Which of the following functions can dynamically allocate memory in C? A. new B. malloc C. create D. value 20. Which of the following functions will deallocate memory in C (return dynamically allocated memory)? A. free B. delete C. clear D. remove 21. Which of the following accesses variable "var in a structure named b? (b is a structure, not a pointer to a structure) A. b->var; B. b.var; C. b-var; D. b>var

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!