main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answer Posted / 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 |
Post New Answer View All Answers
What is a sequential access file?
What does return 1 means in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Does * p ++ increment p or what it points to?
What is the deal on sprintf_s return value?
program to convert a integer to string in c language'
Can the curly brackets { } be used to enclose a single line of code?
What is #define?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Explain how can I open a file so that other programs can update it at the same time?
Is it better to use malloc() or calloc()?
What is the purpose of void in c?
Create a simple code fragment that will swap the values of two variables num1 and num2.
Explain the difference between malloc() and calloc() in c?
What are qualifiers in c?