Answer:
b. The function will execute slowly because "val", and the return value of the function will both require a lot of data copying. This is because C is call-by-value.
Explanation:
Given Function signature: struct x_struct my_function( struct x_struct val );
The function my_function takes a structure of type struct x_struct as arguments and returns a structure of the same type.
C make use of call by value. So it will involve a copy of the struct argument and the return value as part of function execution. This will slow down the speed of execution particularly if the size of the structure is large.So option b is the correct option.
Hey what are you guys going on with your dad today or tomorrow night
Answer:
#program in python.
#variables
slice_area=14.125
pi=3.14159
#read diameter
d=int(input("Enter diameter of pizza:"))
#area of pizza
area=pi*(d/2)*(d/2)
#number of slice
no_slice=int(area/slice_area)
#print slice
print("total silce are:",no_slice)
Explanation:
Declare and initialize a variable "slice_area" with 14.125 which is the area of a pizza slice.Initialize a variable "pi" with 3.14159.Then read the diameter of pizza.Find the area of pizza as "area=pi *d/2*d/2".Divide the total area with area of pizza slice.This will be the number of slice.
Output:
Enter diameter of pizza:20
total silce are: 22
Answer:
The answer is "Procedure"
Explanation:
In the given statement certain information is missing, that is choices, which can be described as follows:
a. procedure
b. software
c. data
d. hardware
e. memory
The procedure is a way, that accomplishes any task in the following steps, if there is a long process so, we divide this process into parts or modules to accomplish the task, and certain alternative was wrong, that can be described as follows:
- Software is a program, that is accomplished in the procedure.
- data, It describes all procedures.
- hardware, It is a device, in which we work.
- memory, It stores all the data in a procedure.
Answer:
presentation
Explanation:
Based on the scenario being described within the question it can be said that we have to be careful of our presentation so we do not date ourselves too badly. Presentation refers to the way we look, dress, and act. Such as the clothes and accessories we wear, the way we style our hair, etc. All done in order to look our best to others.