Answer:
Implicit type casting means the type casting done by the compiler during compilation of program whereas Explicit type casting means the programmer explicitly type casts the variables. This is the difference implicit and explicit type casting.
Explanation:
Type casting means the conversion of one data type into another data type. There are two types of type casting. They are Implicit type casting and Explicit type casting.
<u>Implicit type casting:</u> The type casting which is done by the compiler during the compilation of a program. This occurs when we assigning smaller data type to larger data type and also both the data type are compatible. Below example clears the above concepts.
Ex:
In the above example " i " is " int " data type whereas " l " is long data type but as we assigned the value of " i " to " l ". Here " int " and " long " are compatible data types and we assigned smaller data type ( int - i ) to larger data type ( long - l ) implicit type casting occurs.
<u>Explicit type casting:</u> The type casting which is done by the programmer explicitly to convert one data type into other data type. If we want to assign a value of larger data type to smaller data type explicit type casting is required. Below example clears the above concepts.
Ex:
In the above example " d " is " double " data type whereas " l " is " long " data type. Here we are explicitly type casting to change larger data value ( double - d ) to smaller data value ( long - l ).
Answer:
Please check the attachment.
Explanation:
The adjacency matrix is the matrix that has nodes as rows and columns. The nodes if connected is stated as 1 or else 0. And the adjacency list representation is the list with nodes and connected nodes. The nodes that are not connected are not being listed. The diagram and list as well as matrix can be found in the attachment.
<u>Best method to sort data:</u>
Best method to sort for data people use excel sheet. If we have 4 quarter sales data of each select man wise.
1. Open the MS Excel
2. Create blank sheet
3. Create list of salesman and quarter sales in each cells from A1….
4. Select all whole worksheet and paste it the data
5. Once data is copied, custom list is created and select advanced options dialog box, select required field and sorting is achieved.
This is simple’s method for sort the list based on the names of the first four gas in ascending order.
Answer:
From Networkopoint of view, a node is a redistribution point or communication point or a connection point.
It can also mean devices or data points on a large network Such as laptop, phones, printers, etc
Explanation: