You are not logged in.

#1 2015-09-12 06:02:00

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Pointer Output:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … ge-Pointer

Directions:
main()
{
      char *p;
      p = "Hello";
      printf("%cn",*&*p);
}

Question:
What will be the output?

Option A):
Hello
Option B):
H
Option C):
None
Option D):
Some address will be printed

Correct Answer is Option B):
H


Failure is the first step towards seccess.

2015-09-12 06:02:00

Advertisement
Ads By Google

Re: C Language Pointer Output:



Board footer