1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bija089 [108]
3 years ago
10

The scope of a variable declared outside of any function is:

Computers and Technology
1 answer:
pishuonlain [190]3 years ago
5 0

Answer:

The correct answer for the given question is option(A) i.e Global

Explanation:

The global variable is the variable which is declared outside the function The lifetime and scope of global variable  in whole the program i.e "Globally" .They can be access anywhere in the program,however local variable are those which is declared inside the function .local variable are access inside that function only where it is declared.

Following are the example of Global variable.

#include <stdio.h> // header file

int t=9;// global variable declared outside the function

int main() // main function()

{

   printf("%d",t); // display the value of t

   return 0;

}

so the correct answer is Global.

You might be interested in
Que es un algoritmo informático?
nasty-shy [4]

Answer:

An algorithm is a specific procedure for solving a well-defined computational problem. ... It requires an understanding of the alternatives available for solving a computational problem, including the hardware, networking, programming language, and performance constraints that accompany any particular solution.

4 0
3 years ago
Read 2 more answers
One main advantage of CD-ROMs is that
Norma-Jean [14]
They can hold a lot of information is what you're looking for  , i can remember having this question back when i did my GCSEs <span />
6 0
3 years ago
Set the Append Only property to _____ to allow users to add data to a Long Text field but not to change or remove existing data.
diamong [38]

A computer data storage is made of many features. Set the Append Only property to YES to allow users to add data to a Long Text field but not to change or remove existing data.

  • Append-only is known to be a characteristic or component of computer data storage. It is where new data can be appended to the storage, but where existing data is said to be immutable.

A field's data type is very essential property as it shows what kind of data the field can store.

Learn more from

brainly.com/question/24795103

7 0
3 years ago
Which of the following reflects the order of operations
lorasvet [3.4K]

Answer: PEMDAS

Parenthesis, Exponents, Multiplication, Division, Addition, Subtraction

Explanation:

3 0
3 years ago
Read 2 more answers
The following program is supposed to display a message indicating if the integer entered by the user is even or odd. What is wro
Lapatulllka [165]

Answer:

A. The function definition must appear before the function is called

Explanation:

Given

The above lines of code

Required

Determine the error in the program

In python, functions has be defined before they are called but in this case (of the given program), the function is called before it was defined and this will definitely result in an error;

<em>Hence, option A answers the question</em>

The correct sequence of the program is as follows:

<em>def evenOdd(n): </em>

<em>      if n % 2 == 0: </em>

<em>            return "even" </em>

<em>      return "odd" </em>

<em>num = int(input("Enter an integer: ")) </em>

<em>print("The integer is", evenOdd(num)) </em>

<em />

6 0
3 years ago
Other questions:
  • What is the last step when creating a maintenance schedule? develop a reminder system read the manuals log the maintenance compl
    6·1 answer
  • A type of font that has a decorative tail is A.Serif font B. Sans serif font C. Bubbles font D. Reading font
    7·1 answer
  • What is the advantage of using a subject directory like the public internet library ?
    11·1 answer
  • How to transfer photos from iphone to iphone?
    14·2 answers
  • The class attribute
    8·1 answer
  • When working with arrays, most programming languages perform ________, which means they do not allow programs to use invalid sub
    5·1 answer
  • Processing information involves ____.a. Performing arithmetic or logical operations on binary data accepting information from th
    15·1 answer
  • Which language paradigm interacts well with database systems in business environments that use SQL? (I WILL GIVE BRAINLIEST TO T
    11·1 answer
  • I need trash talk for a comeback:
    11·2 answers
  • A director was fined heavily for shooting in his own house in New York. What do you think was his mistake?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!