Top

Discussion

Can variable i be accessed by functions in another source file?

int i;
    int main()
    {
        printf("%d\n", i);
    }

 

  • A.false
  • B.Only if static keyword is used
  • C.Depends on the type of the variable

Answer:

No comment is present. Be the first to comment.
Loading…

Post your comment