Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static const unsigned int VAL = 42;
- const unsigned int ANOTHER_VAL = 37;
- static int TEST = 0;
- void test();
- #include <iostream>
- #include "test.h"
- int main(void) {
- std::cout << &TEST << std::endl;
- test();
- }
- #include <iostream>
- #include "test.h"
- void test() {
- std::cout << &TEST << std::endl;
- }
- const int i = 10;
- #include "a.h"
- func()
- {
- cout << i;
- }
- #include "a.h"
- func1()
- {
- cout << i;
- }
Add Comment
Please, Sign In to add comment