main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answer Posted / 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 |
Post New Answer View All Answers
Explain about the functions strcat() and strcmp()?
Which is better oop or procedural?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How can I do graphics in c?
What is the ANSI C Standard?
How do you search data in a data file using random access method?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What is the code for 3 questions and answer check in VisualBasic.Net?
How can I trap or ignore keyboard interrupts like control-c?
How can a program be made to print the line number where an error occurs?
Write a program to print fibonacci series without using recursion?
How do I determine whether a character is numeric, alphabetic, and so on?
difference between Low, Middle, High Level languages in c ?
Not all reserved words are written in lowercase. TRUE or FALSE?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?