C Programming - Pointers - Discussion

Discussion Forum : Pointers - Find Output of Program (Q.No. 17)
17.
What will be the output of the program ?
#include<stdio.h>

int main()
{
    char *p;
    p="hello";
    printf("%s\n", *&*&p);
    return 0;
}
llo
hello
ello
h
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
37 comments Page 4 of 4.

Piyush said:   1 decade ago
Thanks shamini.

Venkatesh said:   1 decade ago
Thanks shamini.

Jisha said:   1 decade ago
Thanks shamini.

Vishal said:   1 decade ago
Thanks shamini

Sarika said:   1 decade ago
Thanks samini.

Gopika said:   1 decade ago
thanks shamini

Deepak said:   1 decade ago
Thanks samini


Post your comments here:

Your comments will be displayed after verification.