Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 (1 point) Given: double arr[ ][5] = {0,1,3,5,6,7,8,9, 2, 4); and assuming arr = 50000, the address of element with a value 8

image text in transcribed
image text in transcribed
image text in transcribed
Question 1 (1 point) Given: double arr[ ][5] = {0,1,3,5,6,7,8,9, 2, 4); and assuming arr = 50000, the address of element with a value 8 above is: 50006 50010 50020 50022 None of these Question 2 (2 points) Given: int arr[ ][4] = {101,102,103,104,105,106,107,108,109, 110, 111, 112); and assuming arr = 1000, which of the following will display 1032 Note: It is a multi-select question, therefore there can be more than one right answers. Also make sure you de-select any wrong choices that you might have selected erroneously. A) printf("%d", arr[2][1]); B) printf("%d", arr[2][0]); C) printf("%d", "arr + 2)); D) printf("%d", arr + 2); int (*ptr[5]) (); ptr is declared above as: a pointer to a function an array of pointers to functions that return an integer a pointer to a function that returns an array O an array of functions, each of which returns a pointer None of these

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions