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
lisabon 2012 [21]
3 years ago
14

Draw a memory map for the following program at the point in the program execution indicated by the comment /*HERE */. In additio

n, provide the output generated by the program. #include #define MAXLEN 5 static void task (int *b, int range) { b[range - 1] = 200; range = 0; b = NULL; /* HERE */ int main() { int a[] = {2, 4, 6); int len = 3, i; task (a, len); printf ("len d\n", len); for (i = 0; i < len; i++) printf("%d\n", a[i]); { return 0;
Computers and Technology
1 answer:
lukranit [14]3 years ago
4 0

Answer:

text   data   bss   dec hex   filename

1857   608   8 2473   9a9   memory-layout

Output of the above Code-

len 3

2

4

200

Explanation:

You might be interested in
Illustrator : how do you edit a swatch ?​
allsm [11]

Answer:

To edit an existing pattern, double-click the pattern in the pattern swatch, or select an object containing the pattern and choose Object > Pattern > Edit Pattern

4 0
3 years ago
What is the difference between spyware and adware?
Sati [7]

Answer:

It's C

Explanation:

Adware displays or directs the users to an advertisement, while spyware performs espionage on the computer`s activity.

8 0
3 years ago
Read 2 more answers
When would you use the code snippet American?
USPshnik [31]

Answer:

You would use the code snippet B. while inserting a radio button. I hope this helps you!

6 0
3 years ago
Read 2 more answers
"Write code that prints: Ready! countNum ... 2 1 Start! Your code should contain a for loop. Print a newline after each number a
BartSMP [9]

Explanation:

#include <iostream.h>

#inlcude<conion.h>

void main()

{

  int count, x;

  clrscr();

  cout<<"Enter the count:";

  cin>> count;

  cout<<"Ready!\n";

  for(x=count;x>0;x--)

  {

     cout<<x<<"\n";

  }

  cout<<"Start";

  getche();

}

This is a simple program where the output is expected to be in reverse order. So we run a for loop starting from the count and decrements the counter by 1 every time when the loop runs and print the value. So to print the output in "new line" we include "\n".

6 0
3 years ago
You have an interface on a router with the ip address in the class c network subnet of 192.168.192.10/29. how many total host ad
Gemiola [76]
If 29 bits of the 32 available addressing bits are used for the subnet, then only 3 bits giving 2^3=8 combinations remain for the host addresses. 

In reality, the all zeros and all ones addresses are reserved. So, 8 addresses can exist, but 6 of those are available.

The way the question is formulated it seems the answer 8 is what they're after.
8 0
3 years ago
Other questions:
  • Which type of wireless network is<br> controlled through a wireless<br> access point?
    7·1 answer
  • HELP 10 POINTS AND BRAINLIEST FOR BEST ANSWER! EASY I PROMISE! HELPFUL ANSWERS ONLY PLEASE HURRY!
    14·2 answers
  • What is meant by encapsulating semaphores? Bring out the need for it
    12·1 answer
  • How should font appear in a slide presentation compared to the font in a document
    7·1 answer
  • The __________ tag is used to create a forced line break without starting a new paragraph.
    13·1 answer
  • What steps might a company or organization need take in order to keep its digital data secure online?
    8·1 answer
  • What is a ribbon in word
    15·2 answers
  • What type of photography is represented by a photograph of a dog on a beach ?
    11·1 answer
  • What is pollution?
    14·2 answers
  • 25 points
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!