What do you mean by scope of a variable


Asked by admin @ in Computer Science viewed by 281 People


What do you mean by scope of a variable?

Answered by admin @



A scope is a region of the program and broadly speaking there are three places, where variables can be declared − Inside a function or a block which is called local variables, In the definition of function parameters which is called formal parameters. Outside of all functions which is called global variables.


Similar Questions

What does it mean to control variables in an experiment

Asked by admin @ in Chemistry viewed by 333 persons

What does it mean to control variables in an experiment 

State or describe exactly the nature scope or meaning of

Asked by admin @ in English viewed by 321 persons

What type of definition states or describe exactly the nature, scope, or meaning of something? A.Technical DefinitionB.Operational DefinitionC.Sentence DefinitionD.Extended DefinitionWhich of the following is NOT a …

Which three statements are accurate about variable scope in salesforce

Asked by admin @ in Business Studies viewed by 464 persons

Which three statements are accurate about variable scope? Choose 3 answers?

Overcoming fixed mindset: a step-by-step guide to cultivating a growth mindset

Asked by wiki @ in Health viewed by 1294 persons

Which of the following would best complete this list?

Asked by wiki @ in Social Studies viewed by 752 persons

What had the king decided to do before he saw the spider

Asked by vanshika149 @ in English viewed by 1153 persons

Describe the karez in your own words

Asked by rajesh064 @ in English viewed by 1323 persons

What is 8 + (x + 5)?

Asked by jaylord7 @ in Mathematics viewed by 1106 persons

What is the topic of the info grapher

Asked by jesus643 @ in History viewed by 1403 persons

Elephant kills 11 in nepal , woman rescued from a friendly dolphine

Asked by kavin044 @ in English viewed by 1281 persons

(-3,0);slope =2/3

Asked by timothy2 @ in Biology viewed by 1662 persons

Which is an example of situational irony in "wherefore art thou romeo?”

Asked by noah5213 @ in English viewed by 1592 persons

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 19030 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15815 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10977 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10407 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8723 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8145 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7845 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6492 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5795 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5696 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5479 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4986 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4976 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4688 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4492 persons