0
What is the Output of the program?
#include <stdio.h> int p=20; int main(){ int p=10; printf("%d", ::p); return 0; } ================== What is the meaning of "::p" mainly here???
1 Answer
+ 3
:: is a scope resuluation operator used to access global scope variable when local variable have same name. But it is not available in c i think. It is available in c++..