Question.6
Two .cpp files both define a variable named buffer:
file1.cpp:
static int buffer[100];
file2.cpp:
Will this cause a linker error?
Select Answer
Yes -- duplicate symbol buffer
No -- static at file scope gives internal linkage; each file has its own private buffer invisible to the other
Yes -- but only if both are initialized
No -- but only in C, not C++