कोड:कैसे वैश्विक चर का उपयोग करने की है जब वहाँ एक स्थानीय और वैश्विक संघर्ष है
int a = 33;
int main()
{
int a = 40; // local variables always win when there is a conflict between local and global.
// Here how can i access global variable 'a' having value '33'.
}
तो आप से पूछना: क्यों किसी को ऊपर बात करने के लिए चाहेगा? क्यों [ए-जेए-जेड] *?
मेरा उत्तर होगा: बस यह जानना कि 'ऐसा करना संभव है'।
धन्यवाद।
http://stackoverflow.com/questions/5827447/how-refer-to-a-local-variable-share-same-name-of-a-global-variable-in-c –
अपने वास्तव में अच्छा सवाल है लेकिन '[ए-जेए-जेड] *' क्या है? –
इसका मतलब है 'क्यों' से शुरू होने वाला कोई प्रश्न और '?' पर समाप्त होना जैसे आप यहां वैश्विक क्यों पहुंचना चाहते हैं? या क्यों ब्ला ब्ला ब्ला ब्लाह? – VishalDevgire