Wednesday 8 November 2017

Yes/No Array Questions


Simple Array Questions in C
Find Output Array Questions
-----------------------------------------------------------------------------------------------------

1.
A pointer to a block of memory is effectively same as an array.

A. True
B. False

Answer: A
-------------------------------------------------------------------------------------------------------------------

2.
Does this mentioning array name gives the base address in all the contexts?
A. Yes
B. No

Answer: B

3. 
Is there any difference int the following declarations?

int fun(int arr[]);
int fun(int arr[2]);

A. Yes
B. No

Answer: B
-------------------------------------------------------------------------------------------------------------
4.
Are the expressions arr and &arr same for an array of 10 integers?
A. Yes
B. No

Answer: B

--------------------------------------------------------------------------------------------------

100+ Best Home Decoration Ideas For Christmas Day 2019 To Make Home Beautiful

Best gifts for Christmas Day | Greeting cards for Christmas Day | Gift your children a new gift on Christmas day This Christmas d...