main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answer Posted / surenda pal singh chouhan
H
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.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What does sizeof int return?
Hi can anyone tell what is a start up code?
How do I round numbers?
Can we initialize extern variable in c?
What are the differences between new and malloc in C?
What does calloc stand for?
Explain output of printf("Hello World"-'A'+'B'); ?
Why c language?
What is the use of getchar() function?
What is a program flowchart and explain how does it help in writing a program?
What is pivot in c?
How is = symbol different from == symbol in c programming?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What is the 'named constructor idiom'?
What is multidimensional arrays