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 of the following is NOT one of the three main ways to control a program when writing code?
Karo-lina-s [1.5K]
B. Derivative (Sorry If It’s Wrong)
5 0
3 years ago
Read 2 more answers
A technology company only hires applicants who are under the age of 30. This company could face possibly _________ consequences
Black_prince [1.1K]
They could face legal consequences for discrimination. Hope this helps!
3 0
3 years ago
Read 2 more answers
What will be the output after the following code is executed? def pass_it(x, y): z = y**x return(z) num1 = 3 num2 = 4 answer = p
bearhunter [10]

Answer:

"64" is the output of the above code.

Explanation:

  • The function holds the expression with (**) operator which is used to calculate the power in python language.
  • So if we write 2**4, then this will give 16 as output. It is because when we calculate the 2^{4}, then it will become 16.
  • The above question passes the num1 and num2 value in the function as an argument which is 3 and 4.
  • So 3 will be initialized for x variable and 4 is for y variable.
  • So when we calculate y^{x} then it will become 4^{3} which will become 16.
  • So 64 is the output for the above question.
3 0
3 years ago
PLEASE HELP WITH MY CODING!!!!!!!!!!!!!!
igor_vitrenko [27]
A: Similar..............
6 0
3 years ago
Read 2 more answers
Hurry please
Yanka [14]

Answer:

to get the client to imagine

Explanation:

3 0
3 years ago
Other questions:
  • What are the two different frequencies WiFi operates on?
    9·2 answers
  • Microsoft access does not create n:m relationships because microsoft access creates databases based on
    7·1 answer
  • What are pixels? A. Objects that are part of a particle system B. Tiny colored dots that make up images and text on a computer s
    9·1 answer
  • A communications objective is:
    12·1 answer
  • Elwin Osbourne, CIO at GFS, Inc., is studying employee use of GFS e-mail for non-business communications. He plans to use a 98%
    6·1 answer
  • 1.Input device which transfers information and images from physical documents to computer files.
    14·1 answer
  • For large and complex amounts of information, storing the information is best achieved by using what?
    5·1 answer
  • What is the command to list the contents of directors in Unix- like operating system
    10·1 answer
  • How many clients has<br> Accenture engaged globally on blockchain?
    12·1 answer
  • 3.5 code practice question 1
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!