main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vignesh1988i
the output will be 'H'...... this is because... first the
variables with pointers as:
*
&
*
p
so it woill process as givwn above in stack
| Is This Answer Correct ? | 10 Yes | 2 No |
What are runtime error?
What is the difference between a free-standing and a hosted environment?
Why is sprintf unsafe?
What are the loops in c?
How we can set and clear bit in a byte using macro function?
How do you list files in a directory?
Explain what is the general form of a c program?
What is omp_num_threads?
How many types of arrays are there in c?
Explain what are the different file extensions involved when programming in c?
Can you apply link and association interchangeably?
what is the c.