Answer:
void main(){
string name;
printf("Enter Name\n");
stdin("%s",&name);
Printf("\nGreetings %s",name);
}
Explanation:
Here scanf is represented by stdin and we are using that scanner object to read the string value from user.The value which we read are printed in a new line using printf .The format specifier %s in printf is replaced by name variable
Answer:
There are different types of strategies that can be used by the network manager for reducing the congestion are as follows:
- By monitoring the traffic of the network properly we can easily reduce the congestion in the network.
- By segmenting the network properly, it helps to reduce the network congestion.
- We can also reconfiguring the TCP/IP (Transmission control protocol) setting on the network.
- We can also use the backpressure routing technique.
Answer:
The code is mentioned below.
Explanation:
This code is written in C.
Assuming that an array of 6 by 8 is already initialized and stored in a vector
![x[6][8]](https://tex.z-dn.net/?f=%20x%5B6%5D%5B8%5D%20)
which will be called or referred in program by:
![x [i] [j]](https://tex.z-dn.net/?f=%20x%20%5Bi%5D%20%5Bj%5D%20)
Alongwith the array the variables i j and max will be initialized as integers.
CODE:
int i,j,max;
max=0;
for(i=0;i<6;i++)
{
for(j=0;j<6;j++)
{
if(max>x[i][j])
max = x[i][j];
}
}
This code will check each and every entry of 6 by 8 array and place the largest value in max.
Answer:
Check the explanation
Explanation:
Almost all smartphone devices have global positioning satellite (GPS) service capabilities in them, which mean that apps will be able to combine the phone user's location with the available retail outlets and services to build better mobile business opportunities. For instance, some applications can navigate the user to a particular business locations (such as movie theaters, restaurants, or a nearby auto repair facilities) based on the user's present location.
App like twitter can use the GPS capability to tailor yhier user feeds and timelines with digital contents that are intresting to users in that location.
amazon can advertise based on the need of consumers in a particular location.
Google also tailor thier adword and adsense advert based on the location of the user.
Answer:
Not only can police officers store records and reports in online databases, but they can also use computers and hard drives to store thousands of images, reports and videos. Computers make mass storage possible, and enable giant online databases that can accurately ID suspects anywhere in the country.