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 |
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
Do you have any idea about the use of "auto" keyword?
what is use#in c
without using arithmatic operator solve which number is greater??????????
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 Answers CTS, HCL, TCS,
In a switch statement, what will happen if a break statement is omitted?
Can the curly brackets { } be used to enclose a single line of code?
What are different types of variables in c?
Is c language still used?
What are enumerated types?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
0 Answers Amdocs, Apps Associates,
how to find out the inorder successor of a node in a tree??