Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Difference between const char* p and char const* p?
Home
C Plus Plus
Difference between const char* p and char const* p?
asked
Jan 4
in
C Plus Plus
by
GeorgeBell
Difference between const char* p and char const* p?
c-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 4
by
GeorgeBell
const char* p is a pointer to a const char.
char const* p is a pointer to a char const.
Since const char and char const are the same, it's the same.
...