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 |
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
Explain the use of 'auto' keyword
Why do we need volatile in c?
What is null pointer constant?
what is the program to display your name in any color?
Write a c program to demonstrate Type casting in c?
How can you find out how much memory is available?
What are pointers really good for, anyway?
What are the advantages of union?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Is c call by value?
Which node is more powerful and can handle local information processing or graphics processing?