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
fgiga [73]
4 years ago
6

The scope of a variable declared within a for() loop is:

Computers and Technology
1 answer:
Leni [432]4 years ago
5 0

Answer:

a

Explanation:

The variable declared in the for is accessible only within the for loop  and it goes out of scope once the loop get end

eg : for(int i=1;i<=10,i++) // variable i is declared

{

// variable i is visible only in this block,

}

//After this the variable i goes out of scope

You might be interested in
I will give Brainliest to whoever answers correctly :3
Naya [18.7K]

Answer:

1,3,4

Explanation:

They all make sense except for 2. They cannot advertise or state something that is not to guaranteed to happen.

6 0
3 years ago
Which of the following journals is not aimed at the public as well as scientists?
svet-max [94.6K]
"Journal of the IEST" is not aimed at the public as well as scientists since it deals primarily with very specialized and esoteric studies, and uses language that most non-scientists wouldn't understand. 
7 0
3 years ago
Help with these 2 questions srry for the horrible pic​
Svetach [21]

Answer:

the first one is email address nd the second one is semi-blocked letters ? sorry if im wrong.

Explanation:

5 0
4 years ago
Read 2 more answers
A computer has been stored, uncovered, in a dusty closet for several months. Why might this situation cause the operating system
Nezavi [6.7K]

Answer: ....

Dust and debris can cause performance deterioration.

Explanation:

Dust is a problem from the standpoint of blocking fan vents, or, if deep enough, actually insulating parts, causing overheating, but unless it contains substantial amounts of corrosive or conductive material (in which case you shouldn’t be breathing it), it won’t damage the electrical components (beyond any overheating damage).

What could happen, in some circumstances, is condensation inside the box, mixing with dust and creating a conductive sludge. This would generally only occur if you bring the box in from an extremely cold environment (below 0C, roughly) into a humid indoor environment. The protection from this is to wrap the box tightly in plastic before bringing it indoors, and leave it wrapped for a couple of hours, while it has time to warm up.

3 0
3 years ago
What is printed by the following program provided all necessary standard header files are included? Explain each line of the out
Ostrovityanka [42]

<u>Output:</u>

f1 in A

f2 in A

f1 in B

f2 in A

f1 in A

f2 in A

f1 in B

f2 in B  

<u>Explanation:</u>

In this snippet, the code makes use of virtual functions. A virtual function is defined as a function that is defined in the base class and redefined in the derived class. If the derived function accesses the virtual function, the program will get executed with the derived class’s version of the function.

In this code, we define the virtual function f1() in class A and also redefine it in class B which is the derived class of A. While executing the program, the function g which takes the object b (class B’s object) as a parameter. It will print class B’s version of f1() rather than class A’s version. This is working off the virtual function.

8 0
3 years ago
Other questions:
  • What are three methods of sustainable farming and describe each.
    9·1 answer
  • Which button is used to open the Start menu in Windows Vista?
    14·1 answer
  • To remove an embedded chart, you should _____ it and press the DELETE key.
    14·2 answers
  • Once i have internet connection do i need anything else to surf the web
    6·1 answer
  • Which of the following technologies uses the results of a scientific discovery?
    10·2 answers
  • Need help with these
    5·1 answer
  • Im lonnnelllly........................who want to date
    11·1 answer
  • Write the code to produce a for loop that counts down from 20 to 0 by 2’s and prints the number each time it goes through the lo
    15·1 answer
  • FREEEEE 100 POINTS COME TAKE COME COME COME<br><br> only if u like da black panther
    8·2 answers
  • One of the difficult things about working in game design is that while there are many different roles, most of them only match o
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!