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
write a program to create a sparse matrix using dynamic memory allocation.
What does volatile do?
Why c is a procedural language?
Does c have circular shift operators?
i have a written test for microland please give me test pattern
What are run-time errors?
What math functions are available for integers? For floating point?
What is difference between %d and %i in c?
How can variables be characterized?
What the different types of arrays in c?
Why doesnt this code work?
What is pointer in c?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Difference between pass by reference and pass by value?
What is the purpose of main( ) in c language?