The commented line states that I have assigned a 2D array to a pointer but I want array of such pointers which could store numbers of 2D Array.

The Commented Line States That I Have Assigned A 2D Array To A Pointer But I Want Array Of Such Pointers

Answers

Answer 1

It is impossible to store numbers or contents of 2D array to a pointer array.

How to store pointers in 2D Arrays?

Arrays and pointers are different data structure elements, and there is a limit to the operations that can be performed on both.

Having said that, it is impossible to store numbers or contents of 2D array to a pointer array.

The closest you can do, is to use the following declaration:

int *p[] = {(array-type [][number of columns]) {Array-content}}

Read more about arrays and pointers at:

https://brainly.com/question/17355709

#SPJ1

Answer 2

Answer:

Get the element => *( (int *)aiData + offset ); calculate offset => offset = (1 * coloumb_number)+ 2); Add offset in array base address => (int *)aiData + offset; //here typecast with int pointer because aiData is an array of integer Get the element => *( (int *)aiData + offset );


Related Questions

HELP QUICK!!!!!!!

Which item is used in Excel to identify the row of a particular cell?
O letter
O number
O type
O sheet

Answers

Answer:

Number.

Letter is for columns, Number is for rows.

For example to find the cell on the fifth row, and 1st column, it would be A5.

List and describe four services that comprise IT infrastructure, beyond physical devices and software applications.

Answers

The four services that comprise IT infrastructure are:

Telecommunications services. Data management services . Application software services.Physical facilities management services.

What does these services do?

Telecommunications services is known to help in terms of giving data, voice, and video network.

Data management services helps to save , manage, and analyze all data. Application software services helps to give firms-wide range capabilities.

The Physical facilities management services helps to make and handle physical installations of technology.

Therefore, The four services that comprise IT infrastructure are:

Telecommunications services. Data management services . Application software services.Physical facilities management services.

Learn more about  IT infrastructure from

https://brainly.com/question/869476

#SPJ1

If x=5 and y=3 will this condition execute? if(x > y)
A. yes
B. no

Answers

Yes
Because the x bigger than the y
A. yes

because 5 > 3 is a true value, therefore if(True) will execute

Which benefit does serverless compute provide?

Answers

Answer: this’s an architecture where code execution is fully managed by a cloud provider, instead of the traditional method of developing applications and deploying them on servers

**HELP ME PLS**

A report tried "Employees in Company A contains the names of employees in descending alphabetical order, with the
number of years each employee worked at the company. Which statement is true? A.The report is grouped only because it gives information about employees by number of years of employment.

B.The report is soned only because it gives information about employees by number of years of employment.

C.The report is grouped only because it organizes the names of the employees in alphabetical order.

D.The report is sorted only because it organizes the names of the employees in alphabetical order.

Answers

The true statement is the report is grouped only because it gives information about employees by number of years of employment.

What is a group report?

Group reporting is made up of consolidation method and analytical reports and it gives information on the output of a firm.

Note that since there are different ranges of employment years, the report need to be grouped and as such, The true statement is the report is grouped only because it gives information about employees by number of years of employment.

Learn more about group report from

https://brainly.com/question/13628349

#SPJ1

What is spy wear on a desk top computer

Answers

Answer:

Spyware is when a hacker gathers confidential information and data by logging the user's key presses (keylogging) etc and uses it for fraud or identity theft. That's also why touchscreens are safer than keyboards.

Explanation:

The formula for calculating the amount of interest charged on a loan is:

interest = [principal x rate] of interest x time

Which Python statement correctly performs the interest calculation?

Answers

The Python statement that correctly performs the interest calculation is:

interest = (principal interest) time.

What is a Python statement?

This is known to be a statement  that is said to an instruction that a Python is said to often decode or interpreter and it is also one that it can execute.

Therefore, The Python statement that correctly performs the interest calculation is:

interest = (principal interest) time.

Learn more about Python statement from

https://brainly.com/question/14986545

#SPJ1

what are differences between Ram and Rom?​

Answers

Answer:

RAM, which stands for random access memory, and ROM, which stands for read-only memory, are both present in your computer. RAM is volatile memory that temporarily stores the files you are working on. ROM is non-volatile memory that permanently stores instructions for your computer.

Explanation:

Answer:

RAM is random access memory - we can have it even after we shut down the computer. it is volatile .it stores temporarily.

ROM - Read only memory. it is non volatile memory. we can only have it until computer is turn on. after that it's gone.it stores memory permanently

The classes Person and Airplane shall have the property to print information about themselves on a printer. Draw class and interaction diagrams

Answers

The classes Person and Airplane shall have the property to print information about themselves on a printer the . Interaction diagrams cognizance on describing the waft of messages inside a device, imparting context for one or greater lifelines inside a device.

How do you operate interplay diagrams whilst you version dynamic factors of a device provide an explanation for with an instance?

Purpose of Interaction Diagrams. Sequence and collaboration diagrams are used to seize the dynamic nature however from an exceptional angle. To seize the dynamic behavior of a device. To describe the message waft withinside the device. To describe the structural corporation of the items.

Interaction diagrams are that describe how a collection of items collaborate in a few conduct - generally a single use-case. The diagrams display some of instance items and the messages which can be handed among those items in the use-case. its call would possibly suggest, an interplay diagram is a sort of UML diagram it's used to seize the interactive conduct of a device. Interaction diagrams cognizance on describing the waft of messages inside a device, imparting context for one or greater lifelines inside a device.

Read more about the interaction diagrams:

https://brainly.com/question/19632962

#SPJ1

what are the importance of computer software​

Answers

Answer:

It controls and coordinates all hardware and software functions within your PC. It is designed to be ever-improving so that newer tasks are performed more efficiently.

Software not only makes your computer hardware perform important tasks, but can also help your business work more efficiently. The right software can even lead to new ways of working. It is therefore a crucial business asset and you should choose your software carefully so that it matches your business needs.

write an alogorithm and draw the Flow Chart to
Find the Rost or quardratic equation.
2
ax² + 3x + C = 0
the Coefficont abc
are the input data
the Coefficent d is the Output data.

Answers

In computer programs, algorithms and flowcharts are used as prototypes of an actual program

The algorithm

The algorithm of the program is as follows:

Input a, b, cCalculate d using d = b*b - 4 * a * cIf d < 0, print "Complex roots"ElseCalculate x₁ using x₁ = (-b + sqrt(d))/4 * a * c)Calculate x₂ using x₂ = (-b - sqrt(d))/4 * a * c)Print x₁ and x₂End

The flowchart

This is always in represented using a diagram

See attachment for the flowchart.

Read more about flowchart and algorithms at:

https://brainly.com/question/16763367

#SPJ1

Software that functions as an electronic version of a filing cabinet?

Answers

Answer: There are a lot of choices

Explanation: do you want a database? You can obtain a terabyte or even larger size thumb drive or USB drive

Do want a print server? a networked drive specific for your data and if you have  to   print out anything

Do you want a connected drive to send all your documents to with organized folders?  any size drive will work for this they come all prices

Enter the electronic filing system, sometimes called document management software. These computerized filing systems provide electronic file management. In other words, they give us a simple way to store, organize, and retrieve digital files and digital documents and pdfs.

https://www.filecenter.com/info-electronic-filing-system.html here is some good software

Two negative reviews and no positive reviews is enough to consider the website to have a negative reputation.

Answers

Two negative reviews and no positive reviews is enough to consider the website to have a negative reputation: False.

What is reputation?

In Computer technology, reputation can be defined as a metric which is used to determine the quality of a particular website, especially based on the opinions and ratings by its end users.

In this context, we can infer that two negative reviews and no positive reviews isn't an enough metric to consider a website as having a negative reputation.

Read more on negative reputation here: https://brainly.com/question/2343924

#SPJ1

What is the difference between a status bar, title bar, and tabs?

Answers

Answer:

Status Bar: a horizontal window at the bottom of a parent window in which an application can display various kinds of status information. The status bar can be divided into parts to display more than one type of information. The following screen shot shows the status bar in the Microsoft Windows Paint application.

Title Bar: horizontal bar at the top of a window, bearing the name of the program and typically the name of the currently active document.

Tabs: a tab is a clickable area at the top of a window that shows another page or area

Pls guys I need help fast my PC is new and it can't connect to a network

Answers

Answer:

There are several reasons why your PC might not be able to connect to Wi-Fi. You should first make sure that your PC's Wi-Fi adapter hasn't been turned off, or needs to be reset. The issue might also be with the Wi-Fi, not your PC — make sure that it works on other devices.

Answer:

Use ethernet cable, it worked for me!

E. Write an algorithm to show 'How to prepare a cucumber sandwich?". ​

Answers

Answer:

Place slices of bread on plate, side by side...

Postcondition: Sandwich is ready to eat.

Step 1: Start with the number 1.

Step 2: find another person and form a pair.

Step 3: add your numbers together.

Step 4: one person from the pair sits down.

Step 5: the other person goes back to step 2.

compare the results of both the RATS and Skipfish reports.

Answers

Answer:

The results of both reports RATS is known nas mouse and skipfish is known as one type of fish

43
What are several examples of fictional photography?
O A
celebrity, fashion, glamour
OB.
nature, sports, life
OC. military, propaganda, commercial
OD. corporate, scientific, police
Reset
Next

Answers

Answer:

c

Explanation:

I think A for sure it shows everything I could think of in fictional photography

What type of software can Agile and DevOps be applied

Answers

Answer:

STATA AND SPSS

Explanation:

these are mostly widely used statistical package in modern statistical calculations. it is minimizes times and as well as resources.

Which of the following keys on the keyboard is used to quickly indent text

Answers

you have to use tab on the keyboard

in tabular form differentiate the first four generations of computer ​

Answers

Answer:

Explanation:

See attachment.

In what ways may the WBS be used as a key document to monitor and control a project?

Answers

By bringing everyone's attention to the work that has to be done, WBS can be utilized to prevent scope creep.

What is WBS?

WBS stands for Work Breakdown Structure. It facilitates task allocation. It is much simpler to allocate work to the proper person when a project is divided into manageable tasks or packages. This assists your team in making plans for tasks that must be accomplished in addition to the job at hand.

Thus, the WBS can be used as a key document to monitor and control a project because it makes the process of quickly creating a timetable easier, By assigning work estimates to particular WBS parts, the required task is described and organized by it.

Learn more about WBS here:

https://brainly.com/question/13090633

#SPJ1

1. The letters that appear after the dot after a file name are called the:
file name code.
file extension.
file descriptor.
file locator.

Answers

Answer:

Files Extension.

Explanation:

The letters that follow the period at the end of a file name are the file's extension. This enables the computer to know what application it should use to read the file.

analyse how the reduction in size and the profitability of computer have influence their usage​

Answers

HOPE ITS HELP

IN THE PICTURE

Give an implementation of the abstract data type of a priority queue of integers as an
ordered list using the SML syntax (ML functor). Given the following:

type Item
val > : Item * Item -> bool

Answers

We can use the code for IntPQ to implement the priority queue construction:

functor PQUEUE(type Item  

              val > : Item * Item -> bool  

             ):QueueSig =  

struct  

   type Item = Item  

   exception Deq  

   fun insert e [ ] = [e]:Item list  

     | insert e (h :: t) =  

       if e > h then e :: h :: t  

                else h :: insert e t  

   abstype Queue = Q of Item list  

   with  

       val empty          = Q []  

       fun isEmpty (Q []) = true  

         | isEmpty _      = false  

       fun enq(Q q, e)    = Q(insert e q)  

       fun deq(Q(h :: t)) = (Q t, h)  

         | deq _          = raise Deq  

   end  

end;

What is SML?

The capital asset pricing model (CAPM), which displays varying levels of systematic, or market risk, of various marketable securities plotted against the projected return of the entire market at any one time, is represented graphically by the security market line (SML), a line drawn on a chart.

The supplied predicate, which we consider to be a total ordering, can be used as the priority order in a priority queue. The end result is a structure with a new type for the queue and a number of operations that work with it. We create a new structure from a group of types and values (a structure), and we represent this creation as an ML functor. A functor takes a structure and produces a new structure, much as how a function takes a value and makes a new value. To accomplish the formation of the priority queue, we can utilize the IntPQ code.

Learn more about SML here https://brainly.com/question/15901527

#SPJ10

When should students in a study session use flash cards to quiz one another?

while reviewing
while drilling
while discussing
while preparing`

Answers

When drilling, students in a study session use flashcards to quiz one another. thus, Option B is the correct statement.

What do you mean by drill and practice?

The term drill and practice can be described as a way of practice characterized by systematic repetition of concepts, examples, and exercise problems.

Drill and exercise is a disciplined and repetitious exercise, used as an average of coaching and perfecting an ability or procedure.

Thus, When drilling, students in a study session use flashcards to quiz one another. Option B is the correct statement.

Learn more about drill and practice:

https://brainly.com/question/27587324

#SPJ1

importance of software in computer​

Answers

Answer:

It allows accomplishing functions using the computer. The software is the instruction we want the computer to process for us.

Explanation:

I want to type a letter. I need a software that can interpret my letters in the keyboard and the program can print what I am typing.

What is software engineering? What are the objectives of software engineering?

Answers

Answer:

The basic objective of software engineering is to develop methods and procedures for software development that can scale up for large systems and that can be used consistently to produce high-quality software at low cost and with a small cycle of time.

Explanation:

How ict tools changed the way we live explain it​

Answers

Answer:

How does ICT change our way of living?

ICT has contributed a lot to change our everyday life such as letter to e-mail, market shopping to on-line shopping, classroom learning to e-learning, etc. This paper present's the effects of ICT as Home and Domestic Activities, Social Networking, Education, Health, Commerce, Banking, and Employment.

Can case conditions use test conditions?
A. yes
B. no

Answers

Answer:

yes.

Explanation:

because i Been tro it before

Other Questions
Amtrak is promoting and upgrading passenger rail service. All but one of the following are facts Select one: A. It has high-speed train service between New York and Boston B. Total passenger miles have grown since 1981 C. In the northeast corridor it is the dominant carrier D. It operates some commuter agencies under contract E. It operates without any government subsidy The length of a picture is 18.25 inches shorter than twice the width. If the perimeter of the picture is 119.5 inches, find its dimensions. (x+y)(x+6y) pls help me solve question pls and pls also give explanation if possible I'm gonna need so help Which statement is true about the ordered pair (3 , 4)? A. To plot the ordered pair (3 , 4), travel four units to the right on the y-axis and three units up on the x-axis, from the origin. B. To plot the ordered pair (3 , 4), travel four units to the right on the x-axis and three units up on the y-axis, from the origin. C. To plot the ordered pair (3 , 4), travel three units to the right on the x-axis and four units up on the y-axis, from the origin. D. To plot the ordered pair (3 , 4), travel three units to the right on the y-axis and four units up on the x-axis, from the origin. The inventory records of Global Company indicate that $77,600 of merchandise should be on hand at the end of the month. The physical inventory indicates that $74,000 is actually on hand. The journal entry to adjust inventory shrinkage will include a.a credit to Cost of Merchandise Sold. b.a debit to Merchandise Inventory. c.a debit to Cost of Merchandise Sold. d.None of these choices are correct. Put the causes of the Great Dust Bowl in the correct order. What do advocates of free trade consider an advantage of specialization?OA. Specialized exports offer safety from low prices.B. Specialization assures better labor conditions.C. Countries use tariffs to protect their specialties.OD. Each country focuses on what it can do best. Read the excerpt below and answer the question."So now Della's beautiful hair fell about her rippling and shining like a cascade of brown waters. It reached below her knee and made itself almost a garment for her. And then she did it up again nervously and quickly. Once she faltered for a minute and stood still while a tear or two splashed on the worn red carpet.On went her old brown jacket; on went her old brown hat. With a whirl of skirts and with the brilliant sparkle still in her eyes, she fluttered out the door and down the stairs to the street."What does the authors choice of diction indicate about the way Della felt abut her hair?She stuffed it under a brown hat so she wasnt too proud.She was proud of the way it looked and felt.The splashing tears indicate that she was quite tallThe fact that she fluttered out of the door shows that she was not determined write a paragraph in which you clearly identify the change in law/policy you are seeking to advocate Your patient needs to have their vitals checked before leaving the facility. The policy is that only nurses can perform this activity, and the two on shift todayare currently busy doing paperwork. Your patient has been in the clinic for several hours and is anxious to leave. Match definition with correct term Question 2 options: A credit balance in the manufacturing overhead account that occurs when the amount of overhead cost applied to work in process is greater than the amount of actual manufacturing overhead cost incurred during the period. A debit balance in the manufacturing overhead account that occurs when the amount of overhead cost applied to work in process is less than the amount of actual manufacturing overhead cost incurred during the period. The manufacturing costs associated with units of product that were finished during the period Units of product that are only partially complete and will require further work before they are ready for sale to the customer. 1. Cost of Goods Manufactured 2. Overapplied overhead 3. Underapplied overhead 4. Work in process Terrance wants to purchase a supplement that claims it is all-natural and will help him lose 15 pounds in two weeks. His friend Trevor thinks it is a scam. What are three useful tips Trevor can teach Terrance to help him better evaluate marketing claims on fitness products to make sure he isnt being scammed? Rohit is taking a tuition class(passive voice) Write complete sentences by putting the phrases in the correct order. your sentences should use all of the phrases in the first box. make sure you use reflexive verbs correctly. follow the example. la seguridad nacional le preocupa al gobierno porque hay muchos terroristas Find f g and g f, if they exist. f={(-4,-5),(0,3),(1,6)} and g={(-5,0),(3,-4),(6,1)}. QUESTION 8 - 1 POINTThe median monthly rent in 1994 was $499 and $633 in 2001. What was the percent increase in themedian monthly rent prices from 1994 to 2001? Round to the nearest tenth of a percent. When the human body is exposed to extreme cold, hypothermia can result and the bodys temperature can drop to 28.68C. Convert this temperature to K. What is open system?What is close system?What is the valency of an atom?State Heisenberg uncertainty principleDefine endothermic reaction Question 1. What does the body get its main source of energy from? -protein -fat-carbohydrates-vitamins Question 2. Are buttermilk pancakes a complex carb or a simple carb?Question 3. Is whole grain oatmeal a complex carb or a simple carb?Question 4. Proteins built from building blocks called..-amino acids-fat-vitamins & mineralsQuestion 5. Is peanut butter an incomplete or complete protein?Question 6. Are eggs an incomplete or complete protein?