


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CS 159 Lab 5 with Questions and Answers In downward communication (passing by value) it is only a copy of the data that is sent from the calling function to the called function ANSWER True The C language uses only pass by value and "return" to achieve communication of data between a calling and a called function ANSWER False It is not possible to access a variable in the calling function by its identifier when inside the called function ANSWER True Given the address of a variable the called function can access and manipulate the value of a variable in the calling function ANSWER True The called function must declare a special type of variable known as a pointer to store a memory address that is sent from the calling function ANSWER True To obtain the address of a variable use the address operator (&) ANSWER True The asterisk (*) when used in a variable declaration indicates that the variables are not data variables but address (pointer) variables which can store the addresses of
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!