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 is break in c?
What is the difference between null pointer and void pointer
10 Answers CTS, Manforce, MAQ Software,
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.
15 Answers Cisco, Google, MBT,
Hi, main() { } Is a user defined function or Built in Functionn
What are global variables and explain how do you declare them?
write a program structure to find average of given number
What is period operator in c?
Explain the binary height balanced tree?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Is a house a shell structure?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Give me the code of in-order recursive and non-recursive.