Interview Question 3556

Created by admin on Sat, 17/11/2012 - 12:32
Explanation: 
* is a dereference operator & is a reference operator. They can be applied any number of times provided it is meaningful. Here p points to the first character in the string "Hello". *p dereferences it and so its value is H. Again & references it to an address and * dereferences it to the value H..
Question: 

main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}

Language: 
Answer: 

H