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
Debora [2.8K]
3 years ago
8

write a c program to insert and delete values from stack( to perform pop and push operations) using an array data structure

Computers and Technology
1 answer:
Alexxx [7]3 years ago
3 0

Answer:

<u>How to implement a stack in C using an array?</u>

A stack is a linear data structure that follows the Last in, First out principle (i.e. the last added elements are removed first).

This abstract data type​ can be implemented in C in multiple ways. One such way is by using an array.

​Pro of using an array:

No extra memory required to store the pointers.

Con of using an array:

The size of the stack is pre-set so it cannot increase or decrease.

You might be interested in
Consider an application that transmits data at a steady rate (for example, the sender generates an N-bit unit of data every k ti
zhenek [66]

A circuit-switched network would be more appropriate for this application.

<u>Explanation</u>:

The method of Circuit switching helps in the establishment of a network with the nodes that are in communication. The network will be established in the earlier stages before the two nodes starts to communicate with each other. The bandwidth that is essential fro the communication will be reserved and the communication will take place without any interruption.  

The example that is given in the question requires a circuit switched network suiting its need. This is because long sessions are essential and there are some needs of bandwidth too. Circuit switched networks helps in this scenario reserving bandwidth for each session of the application and there wont be any wastage. There is also an advantage of ignoring he costs that are related with the setting and disconnecting the circuit connection even if an application has a session with longer time duration.  

8 0
3 years ago
Research jobs in digital media. Using a job-posting site like Indeed, Monster, Career Builder, or other sites, search for a job
Alborosie

Answer:

Research jobs in digital media. Using a job-posting site like Indeed, Monster, Career Builder, or other sites, search for a job in your area. Once you identify a job in digital media that you may want to do, research the qualifications and education needed to perform this job, Write a paper of at least 300 words that includes:

Explanation:

Research jobs in digital media. Using a job-posting site like Indeed, Monster, Career Builder, or other sites, search for a job in your area. Once you identify a job in digital media that you may want to do, research the qualifications and education needed to perform this job, Write a paper of at least 300 words that includes:

sory

7 0
3 years ago
Which of the following statements is true? 1. The Internet is just a network of computers. 2. The internet is now an Internet of
lisabon 2012 [21]

Answer:

All statements are true

Explanation:

  1. The internet is a network of globally interconnected millions of computers that communicate wit themselves remotely using standardized communication protocols via a web server.
  2. The internet is also refer to as internet of things (IoT)as devices and gadgets in homes and cars can now be connected to the internet with the exchange of billions of information using cheap processors and WLAN
  3. Everything on IoT needs an Internet Protocol address (like an house address) to function and exchange data.
  4. It must be be able to exchange information with other inter-connected devices for it to be an IoT.
7 0
4 years ago
Which of the following can you do under the fair use exceptions?
anzhelika [568]
What fair use exceptions are you talking about? There are thousands on fair use exceptions.
8 0
3 years ago
Every program that is created will have a starting point called ___________and is the beginning of execution.
pashok25 [27]

Answer:

Compute I think

Explanation:

I'm not 100% sure

4 0
3 years ago
Other questions:
  • Now, my Laptop has been working since I bought it yesterday it won’t start up and it when it does it overheats and shuts off, th
    10·2 answers
  • Getting access to web browsing software to install it on a computer or to update your existing software is called _________ .
    9·2 answers
  • Clicking a _____ name opens a drop-down list of commands and options.
    6·1 answer
  • What advantages do fiber optic cables offer over twisted pair or other media choices?
    8·1 answer
  • 7-eleven had to file for a bankruptcy. However they become a profit making company after installing an Information System that a
    12·1 answer
  • Adding functionality to a Button is easy when you use the IDE. After you have dragged a Button onto a Form, you can ____ it to c
    7·1 answer
  • A typical setup for a ____ network would include computer users sharing a single internet connection.
    15·1 answer
  • Click this link to view O*NET's Skills section for Biomedical Engineers. Note that common skills are listed toward the top and l
    8·2 answers
  • ¿en minimo cuantos computadores se puede construir una red,y en maximos en cuanto y que se necesita para que este en la red?​
    14·1 answer
  • Complete the following statements by choosing the correct answer from the drop-down menus.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!