Question:
When does the compiler not implicitly generate the address of the first element of an array?
Answer:
Whenever an array name appears in an expression such as
Ø array as an operand of the sizeof operator
Ø array as an operand of & operator
Ø array as a string literal initializer for a character array
Then the compiler does not implicitly generate the address of the address of the first element of an array. Source: CoolInterview.com
unless we declare an array it will not generate the address of first element. Source: CoolInterview.com
Answered by: anshu | Date: 8/7/2010
| Contact anshu
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|