#include <stdio.h> int i; int main() { printf("%d\n", i); }
a) Yes
b) No
c) Only if static keyword is used
d) Depends on the type of the variable
Can variable i be accessed by functions in another source file?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Can variable i be accessed by functions in another source file?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!