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
Which are elements involved in modeling a solution? Choose all that apply. A) often includes a visual graphic B) shows the flow
Diano4ka-milaya [45]
Need to know how to read Circuit diagramed
6 0
3 years ago
Read 2 more answers
you are using linux and need to perform a reverse lookup of the ip address 10.0.0.3. which command would you use to accomplish t
ollegr [7]

A command you would use to perform a reverse lookup of the IP address 10.0.0.3 on a Linux system: dig -x 10.0.0.3.

<h3>What is a Linux command?</h3>

A Linux command can be defined as a software program that is designed and developed to run on the command line, in order to enable an administrator (end user) of a Linux network perform both basic and advanced tasks by only entering a line of text.

<h3>What is IP address?</h3>

IP address is an abbreviation for Internet protocol address and it can be defined as a unique set of numbers that are assigned to a computer, website or other network devices, in order to successfully differentiate them from one another in an active network system.

In Computer Networking, a command which an administrator (end user) would use to perform a reverse lookup of the IP address 10.0.0.3 on a Linux system is dig -x 10.0.0.3.

Read more on Linux commands here: brainly.com/question/25480553

#SPJ1

3 0
2 years ago
Write an application that displays a series of at least five student ID numbers (that you have stored in an array) and asks the
babymother [125]

Answer:

See explaination for the program code

Explanation:

// ScoreException.java

class ScoreException extends Exception

{

ScoreException(String msg)

{

super(msg);

}

}

// TestScore.java

import java.util.Scanner;

public class TestScore

{

public static void main(String args[]) throws ScoreException

{

Scanner sc = new Scanner(System.in);

int studentId[] = { 1201, 1202, 1203, 1204, 1205 };

int scores[] = new int[5];

int score = 0;

for(int i = 0; i < studentId.length; i++)

{

try

{

System.out.print("Enter a numeric test score for the student"+(i+1)+" of Id "+studentId[i]+" : ");

score = sc.nextInt();

if(score < 0 || score > 100)

{

scores[i] = 0;

throw new ScoreException("Input should be between 1 and 100");

}

else

{

scores[i] = score;

}

}

catch(ScoreException ex)

{

System.out.println("\n"+ex.getMessage()+"\n");

}

}

//displaying student details

System.out.println("\n\nStudent Id \t Score ");

System.out.println("=============================");

for(int i = 0; i < studentId.length; i++)

{

System.out.println(studentId[i]+"\t\t"+scores[i]);

}

}

}

8 0
4 years ago
What are the MOST likely reasons that a student would research a topic using the internet?
Airida [17]

Answer:

To help with them with their work

5 0
3 years ago
Read 2 more answers
If you do not want to use your Internet service provider (ISP) for your email account, how can you acquire a webmail account
Grace [21]

A lot of services are being provided over the Internet. If you do not want to use your Internet service provider (ISP) for your email account, you can you acquire a webmail account through online services

  • An online service is simply known as body that gives access to various types of data for different uses through the use of the the Internet.

Examples are: online banking, news, shopping, social media networks, e-mail etc.

This services done online gives an avenue in which subscribers can communicate with one another via exchanging e- mail messages or through online conferences or forums.

Learn more from

brainly.com/question/9930336

6 0
3 years ago
Other questions:
  • Marie uses a browser to visit a blog. What is the unique identifier of the blog? A. web page B. website C. web address D. email
    7·2 answers
  • why is it important for young people to start saving early as possible given the principles of interest?
    6·2 answers
  • ANSWER THIS CORRECTLY FOR BRAINLIEST
    13·2 answers
  • Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amoun
    5·1 answer
  • Explain your understanding of distributed object system.
    9·1 answer
  • Write a paragraph on the following topic.
    14·1 answer
  • How can you get in touch with someone when they ain't answering you ☹
    7·1 answer
  • Which of the following helps create a positive community?
    11·1 answer
  • 8.1 edhesive answer please
    10·1 answer
  • Please help ASAP! will mark brianliest! 30 points!
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!