A blog posting problems and tutorials for blog visitors to practice and gain experience.
AD1
Tuesday, 25 April 2017
Find the output of the following code
Output h h e e l l l l o o Explanation message[i]=i[message] because compilers convert message[i] into *(message+i) where message is the array base address ,also i[message] is converted into *(i+message) so the two expressions are the same
No comments:
Post a Comment