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
masha68 [24]
3 years ago
9

أجوبة على مسائل في الإستاتيكا أيمكن ذالك

Engineering
1 answer:
igomit [66]3 years ago
5 0

Answer

yeah just which one do you have

You might be interested in
A) Fix any errors to get the following program to run in your environment. B) Document each line of code with comments and descr
Bingel [31]

Answer:

Answer is explained below

Explanation:

<u>Part A -: </u>

<u> </u>

<u>Error statement -: </u>

/*

prog.cpp: In function ‘void p(const int*, int)’:

prog.cpp:7:15: error: assignment of read-only location ‘* list’

list[0] = 100;

*/

There is one error in the code in following part

void p( const int list[], int arraySize)

{

list[0] = 100;

}

you are passing list as constant but changing it inside the function that is not allowed. if you pass any argument as const then you can't change it inside the function. so remove const from function argument solve the error.

<u>Part B -: </u>

change made

void p( int list[], int arraySize)

{

list[0] = 100;

}

<u>Executable fully commented code -: </u>

#include <iostream> // importing the iostream library

using namespace std;

void m(int, int []); // Function declearation of m

void p( int list[], int arraySize) // definition of Function p

{

list[0] = 100; // making value of first element of list as 100

}

int main()

{

int x = 1; // initilizing x with 1

int y[10]; // y is a array of 10 elements

y[0] = 1; // first element of y array is 1

m(x, y); // call m function

// printing the desired result

cout << "x is " << x << endl;

cout << "y[0] is " << y[0] << endl;

return 0;

}

void m(int number, int numbers[]) // Function definition of m

{

number = 1001; // value of number is 1001 locally

numbers[0] = 5555; // making value of first element of numbers array 5555

}

Part C :-

In program we initilize x with value 1 and create an array y of 10 elements.

we initilize the y[0] with 1\

then we call function m. In function m ,first argument is value of x and second argument is the pointer to the first element of array y.

so value of x is changed locally in function m and change is not reflected in main function.

but value of y[0] is changed to 5555 because of pass by refrence.

So we are getting the following result :-

x is 1

y[0] is 5555

4 0
3 years ago
How many numbers multiple of 3 are in the range [2,2000]?
Alekssandra [29.7K]
I don’t even know lol i’m just tryna bring my points up sorry.
6 0
3 years ago
Are there any other controllers like Arduino that run C++ ? And if so, what are the names of them? Is there any used outside of
neonofarm [45]

Answer:

An arduino is just a micro controller. It has a programmable CPU and a memory storage. There're plenty of other microcontrollers out there that does the same thing like the NodeMCU or the Teensy 3. A quick google search should reveal alot more alternatives.

You can pretty much program the arduino using any language. The only thing is that had someone made a compiler to translate the code into the 1's and 0's that can be read by the arduino yet.

As for manufacturing, I think they use their own custom made controller. I haven't seen a company that used an arduino yet.

8 0
3 years ago
A large retail organization previously divided work among its four employee-benefits staff into distinct specializations. One pe
Sever21 [200]

Answer:

Sense of ownership

Explanation:

Even thought the question seems incomplete or properly asked, but from the narrative thus far in the asked question, the answer suggests that the restructuring will most likely increase the employees sense of ownership which is the right answer to the question intended to ask.

Sense of ownership in employees basically is the mental feeling of having a stake in the shares or ownership of a company. A sense of ownership can not be delegated. It is what drives an employee to want to do more for a company leading to the greater success of the organisation.

In summary, One staff member is responsible for all employee-benefits inquiries from anyone in a particular geographic region Simply indicate a Sense of ownership

7 0
4 years ago
One of our wifi network standards is IEEE 802.11ac. It can run at 6.77 Gbit/s data rate. Calculate the symbol rate for 801.11ac
Lena [83]

Answer: Symbol rate, Fs = 0.846

Explanation:

The attachment below shows the calculations

7 0
3 years ago
Other questions:
  • Does a food market have any rooms in particular? Also whats units?
    10·2 answers
  • A water jet jump involves a jet cross-sectional area of 0.01 m2 , and a jet velocity of 30 m/s. The jet is surrounded by entrain
    6·1 answer
  • Liquid ethanol is a flammable fluid and can release vapors that form explosive mixtures at temperatures above its flashpoint at
    9·1 answer
  • 5. One of the major road blocks for direct DC power in residences is the ___. A) generation of DC B) lack of standardization C)
    9·1 answer
  • Discuss four (4) advantages of direct and indirect water supply system.
    5·2 answers
  • Many car companies are performing research on collision avoidance systems. A small prototype applies engine braking that deceler
    15·1 answer
  • What is a motor and were it goes in. A car
    15·1 answer
  • Technician A says that a lack of lubrication on the back of the disc brake pads can cause brake noise. Technician B says that pa
    8·1 answer
  • I wuv little space :)
    8·1 answer
  • Want to cancel my accouny
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!