You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
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


Failure is the first step towards seccess.

2015-09-12 06:27:35

Advertisement
Ads By Google

Re: Compiling And Running:



Board footer