You are not logged in.

#1 2015-09-12 06:01:56

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

C Language Pointer Output:

C Programming Quizzes C Language 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


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-12 06:01:56

Advertisement
Ads By Google

Re: C Language Pointer Output:



Board footer