C Programming - Typedef - Discussion
Discussion Forum : Typedef - General Questions (Q.No. 2)
2.
In the following code what is 'P'?
typedef char *charp;
const charp P;
Discussion:
36 comments Page 4 of 4.
Pooja said:
6 years ago
I think p is constant only.
Jayesh said:
4 years ago
I agree with you @Santosh.
Vinay said:
1 decade ago
P is a character constant.
Vikas Sharma said:
1 decade ago
P is a constant pointer.
Muneesh said:
8 years ago
How is this possible?
Lavanya said:
1 decade ago
What is char P?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers