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
How many levels of pointers have?
Explain b+ tree?
Why does everyone say not to use gets?
Why calloc is better than malloc?
What is n in c?
When should you not use a type cast?
What is difference between array and pointer in c?
string reverse using recursion
Explain About fork()?
Which function in C can be used to append a string to another string?
program for reversing a selected line word by word when multiple lines are given without using strrev
code for find determinent of amatrix
What are the types of data structures in c?
How many types of errors are there in c language? Explain
Explain the difference between call by value and call by reference in c language?