Answer:
- #include <iostream>
- using namespace std;
- struct Point{
- double x;
- double y;
- };
- int main()
- {
- Point origin;
- origin.x = 0;
- origin.y = 0;
- return 0;
- }
Explanation:
The solution code is written in C++.
Firstly, we create a data structure Point with two fields, x and y (Line 5 -8).
In the main program, declare an origin object with Point type (Line 12).
Set the x and y fields of origin object to zero using dot syntax (Line 13-14).
Answer: (A) Only unique
Explanation:
Enumeration basically contain only unique value as enumeration is define as the set of the numeric values that is finite and it is represent specifically by the identifiers which is known as the enumeration constant.
It only work with the finite values and also hide all the un-relevant and unnecessary information from the programmers. Enumeration is the type of the data type variable which contain only previous declared values.
straight-tip connector is a type of connector used for fiber optic cable.
<u>Explanation:</u>
Fiber network portions always need two fiber cables: for transmitting and receiving data. Per the end of a fiber cable is provided with a plug that can be injected into a network adapter.
A straight tip connector (ST connector) is a connector used in fiber-optic cables that appropriate a bayonet-style plug and socket. It has converted the de facto model for commercial wirings. The ST connector settings provide for unidirectional communication, so two ST connectors and two fiber cables are used for bidirectional communication.
Answer:you want the image to be on the final page no matter what happens to the text.