NIELIT O Level Exam

Which one of the following is incorrect?

Which one of the following is incorrect?

निम्नलिखित में से कौन सा गलत है?

A. The variables used inside function are called local variables. फंक्शन के अंदर उपयोग किए जाने वाले वेरिएबल लोकल वेरिएबल कहलाते हैं।

B. The local variables of a particular function can be used inside other functions, but these cannot be used in global space. किसी विशेष फंक्शन के लोकल वेरिएबल का उपयोग अन्य फंक्शनो के अंदर किया जा सकता है, लेकिन इनका उपयोग ग्लोबल स्पेस में नहीं किया जा सकता है

C. The variables used outside function are called global variables. बाहरी फंक्शन का उपयोग करने वाले वेरिएबल को ग्लोबल वेरिएबल कहा जाता है

D. In order to change the value of global variable inside function, keyword global is used. फंक्शन के अंदर ग्लोबल वेरिएबल की वैल्यू को बदलने के लिए, कीवर्ड ग्लोबल का उपयोग किया जाता है।




Correct Answer is :

B. The local variables of a particular function can be used inside other functions, but these cannot be used in global space.



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad