![AM28](/avatars/40987.jpg)
AM28
24.04.2020 •
Computers and Technology
Type the correct answer in the box. Spell all words correctly. Which network protocol allows administrators to access a remote computer in a secure way? BLANK is a network protocol. It allows administrators to access a remote computer in a secure way.
Solved
Show answers
More tips
- F Family and Home Protect Your Home or Apartment from Pesky Ants...
- O Other What is a Disk Emulsifier and How Does it Work?...
- H Health and Medicine How to Calm Your Nerves? Expert Tips That Actually Work...
- A Animals and plants 5 Tips for Taking Care of Yews to Keep Them Green and Beautiful...
- S Sport How to wrap boxing hand wraps? Everything you need to know!...
- F Food and Cooking 10 Reasons Why You Should Avoid Giving Re-Gifts: An Informative Guide...
- F Family and Home Tender Care for Your Parquet: Is it Possible to Clean Parquet?...
- S Style and Beauty How Are Eyelash Extensions Applied? All Your Questions Answered...
- F Food and Cooking 10 Tips for Proper Sushi Consumption...
- S Style and Beauty Learn how to tie a keffiyeh on your head like a pro...
Ответ:
Output
mumners = 0x7ffc4d2767d0
Method1: Address of array Elements
numbers[0] = 0x7ffc4d2767d0
numbers[1] = 0x7ffc4d2767d4
numbers[2] = 0x7ffc4d2767d8
numbers[3] = 0x7ffc4d2767dc
numbers[4] = 0x7ffc4d2767e0
Method2: Address of array Elements
numbers[0] = 0x7ffc4d2767d0
numbers[1] = 0x7ffc4d2767e4
numbers[2] = 0x7ffc4d2767f8
numbers[3] = 0x7ffc4d27680c
numbers[4] = 0x7ffc4d276820
sizeof(numbers) = 20
2.
mumners = 0x7ffc4d2767d0
Method1: Address of array Elements
numbers[0] = 0x7ffc4d2767d0
Yes both are same since address of the array is the address of its first element
3.
Method1: Address of array Elements
numbers[0] = 0x7ffc4d2767d0
numbers[1] = 0x7ffc4d2767d4
numbers[2] = 0x7ffc4d2767d8
numbers[3] = 0x7ffc4d2767dc
numbers[4] = 0x7ffc4d2767e0
Method2: Address of array Elements
numbers[0] = 0x7ffc4d2767d0
numbers[1] = 0x7ffc4d2767e4
numbers[2] = 0x7ffc4d2767f8
numbers[3] = 0x7ffc4d27680c
numbers[4] = 0x7ffc4d276820
Address printed using Method1 and Method2 are same since name of the array itself a pointer and adding 1 to it gives second element address and 2 to it gives third element and so on similarly applying address operator over the array elements provides the direct address of the element.
4.
printf("Length(numbers) = %lu\n",sizeof(numbers)/sizeof(numbers[0]));
Dividing an size of array by size of individual array elements gives length of an array
Length(numbers) = 5
5.
Yes even if numbers are passed to a function sizeof can be applied since numbers is starting address of an array and to pass an array as argument its address passed.