You are not logged in.

#1 2015-09-12 06:27:33

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

Compiling And Running:

C Programming Quizzes C Language Pointer

Directions:
main()
{
    char *p;
    printf("%d %d",sizeof(*p), sizeof(p));
}

Question:
What will be printed after compiling and running the following code?

Option A):
2 1
Option B):
1 2
Option C):
1 1
Option D):
2 2

Correct Answer is Option B):
1 2


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

2015-09-12 06:27:33

Advertisement
Ads By Google

Re: Compiling And Running:



\n

Board footer