MCQ Answer

Which one of the following is incorrect?

Which one of the following is incorrect?

निम्नलिखित में से कौन सा गलत है?
Topic : Functions in Python

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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz