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


Please Help Members By Posting Answers For Below Questions

Are c and c++ the same?

606


What is const and volatile in c?

539


What functions are used in dynamic memory allocation in c?

567


How can a string be converted to a number?

489


What is the size of structure pointer in c?

593






Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1494


What is unary operator?

636


What is the use of putchar function?

631


how to introdu5ce my self in serco

1497


Does * p ++ increment p or what it points to?

590


Is there any data type in c with variable size?

603


What is meant by initialization and how we initialize a variable?

564


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

736


In c language can we compile a program without main() function?

551


What is union and structure in c?

590