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
blondinia [14]
3 years ago
14

Find the mistakes in the following code. Not all lines contain mistakes. Each line depends on the lines preceding it. Watch out

for uninitialized pointers, NULL pointers, pointers to deleted objects, and confusing pointers with objects.
Computers and Technology
1 answer:
Kazeer [188]3 years ago
5 0

Answer:

Explanation:

A null pointer is pointing to nothing, if we can detect if a pointer is null, we can use an "IF" because a null pointer always going to be false, a null pointer even can block an application, because is a result of undefined behavior, it can even cause problems because the compiler can’t tell whether we mean a null pointer or the integer 0, there is a confusion in this kind of pointers.

You might be interested in
Which can be used to code a simple web page? CSS JavaScript Text editor Web browser
melisa1 [442]

Answer:

option (C) Text editor is the correct answer in this question.

Explanation:Used to code a web page, an editor is required that  is a basic requirement.The other options are secondary ,text editors are provided with operating system and software development .Text editor specialized html editors can offer convenience and added functionality.Test editors require of html and any other web technology like Java script,and server-side scripting languages.

6 0
2 years ago
What are the different type of computer files?
oee [108]

Answer:

There actually a lot of them: World, PPT, Excell

Explanation:

6 0
3 years ago
Read 2 more answers
Which term describes data that appear to show some type of patterned relationship with a nursing diagnosis?
marusya05 [52]

Answer:

Related factors

Explanation:

Related factors are those factors "that appear to show some type of patterned relationship with a nursing diagnosis". For example, there are some factors that may increase the vulnerability of an unhealthy event in a person or group. These factors may be psychological, physiological, or chemical factors. Hence these factors are considered related factors if they have any relationship with a particular disease or nursing diagnosis.

7 0
3 years ago
True or False: The proze for winning the NHL champioship is called the
Thepotemich [5.8K]
False it is the Stanley cup
8 0
3 years ago
Add the beginning comments at the top of the program.
Arada [10]

Answer:

#################

# Python Practice

#################

# Part 1

# ------------------------------------------------------

run_compare = 3

ran_compare = 0

while run_compare != ran_compare:

   num1 = int(input('Please input the first number: '))

   num2 = int(input('Please input the second number: '))

   def compare(number1, number2):

       if number1 < number2:

           print(f'{num1} is less than {num2}')

       elif number1 > number2:

           print(f'{num1} is greater to {num2}')

       else:

           print(f'{num1} is equal than {num2}')

   compare(num1, num2)

   ran_compare += 1

# ------------------------------------------------------

# Part 2

run_name = 6

ran_name = 0

names = []

# ------------------------------------------------------

while run_name != ran_name:

   name = input(str('Please insert a name: '))

   names.append(name)

   print(names)

   ran_name += 1

# ------------------------------------------------------

give me a second im going to resolve the last part but this is what i have so far

4 0
2 years ago
Other questions:
  • Instructions:Select the correct answer.
    13·1 answer
  • What is requirement analysis
    8·1 answer
  • How to select the entire table in microsoft excel
    11·1 answer
  • Does learning swift is hard? more than android?
    13·1 answer
  • #Electrical Engineering
    13·1 answer
  • Tortise and hare race java g Modify the main class so it runs the race 100 times and reports how many times each runner wins. (T
    7·1 answer
  • According to the textbook, the definition of transition is
    13·1 answer
  • Question: define oprators​
    9·1 answer
  • Mention the usage of crop concept in ms-word​
    13·2 answers
  • if you want to clear a single file, what move instruction would you use? group of answer choices none of the choices file to wor
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!