Questions and Answers
Which storage class in C is used to store variables with a global scope?
Extern
What is the primary difference between pass by value and pass by reference in C?
Pass by value passes the value to the calling function, while pass by reference passes the address to the calling function.
What is the purpose of a void pointer in C?
To point to a specific memory location
How is an array different from a pointer in C?
Signup and view all the answers
What is the main difference between a null pointer and a void pointer in C?
Signup and view all the answers