Qualcomm Interview Question: How can you access global sta... | Glassdoor.co.in

Interview Question

Staff Software Engineer Interview Hyderabad

How can you access global static variables from other files

Answer

Interview Answer

2 Answers

1

global static variables have file scope and cant be accessed outside the file. That's the difference between global static and global.

dibya on 29-Apr-2013
0

we can use a function to access the variable or its pointer

Naveen on 21-Jan-2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.