Net neutrality also means that ISPs can't charge users access fees for particular websites. ... The goal of net neutrality is to ensure that businesses can compete freely on the internet without having to pay gatekeeper tolls. Without it consumers would look more like advertising segments than an open marketplace.
Credits: thestreet.com
Answer:
The Answer for the given question is
First is return(average ) statement is not used in the last line in function average .
second not included the parenthesis in adding the value1 + value2 + value3 so include (value1 + value2 + value3 )
Third is not type casting the value so type cast the value by modify that statement
average = float(value1 + value2 + value3 )/ 3;
Explanation:
In the given code the return type is float that means function should return float value.So adding the statement in the last line return(average ) here all the parameters are of int type but "average" is float type and when an int is divided by int, it will return int value. So we have to type cast either denominator or numerator.
average = float(value1 + value2 + value3 )/ 3;
To define any function definition it must follow the proper syntax of function definition
The syntax is :
Returntype functionname(datatype parameter1,datatype parameter 2)
{
//statement
}
For example
int mux(int a,int b)
{
int c;
c=a*b;
return(c);
}
In this the returntype is integer thats why it return integer value c. If return type is void it will not return any value .
So the correct code is
float average(int value1, int value2, int value3)
{
float average;
average = float(value1 + value2 + value3 )/ 3;
return(average);
}
Answer:
See explaination
Explanation:
a.
myString is "Hello the world"
b.
prints "15"
c.
This is invalid.
We have to use strcpy_s to copy strings
FIX:
strcpy_s(s,"Marylane");
d.
reading string upto length 80 from the user and stored it in myString variable
e.
prints the string enetered by user to console
f.
replacing 7th character by 't'
Answer:
following are the OSI Layers
1.physical layer
2.datalink layer
3.network layer
4.transport layer
5.session layer
6.presentation layer
7.application layer
Explanation:
physical layer is used to transmit media,signal and binary information
datalink layer is used for physical addressing MAC and LLC
network layer is used for path determination and ip
transport layer is for end to end communication and reliability
session layer is for interhost communication
presentation layer is for data representation and encryption
application layer is network process to application