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 |
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
how to print value of e(exp1)up to required no of digits after decimal?
Explain the use of bit fieild.
a=5 a=a++/++a
Why is not a pointer null after calling free?
i want to know the procedure of qualcomm for getting a job through offcampus
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
Is there any possibility to create customized header file with c programming language?
What is graph in c?
A stack can be implemented only using array?if not what is used?
What are the scope of static variables?