Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Pointer to Constants
What is the difference between const char* p and char const* p?
✍: FYIcenter
In const char* p, the character pointed by "p" is constant, so you can not change the value of character pointed by p but u can make "p" refer to some other location.
In char const* p, the pointer "p" is constant not the character referenced by it, so you can not make "p" to refernce to any other location but u can chage the value of the char pointed by "p".
2007-02-26, 5989👍, 0💬
Popular Posts:
when should the volatile modifier be used? The volatile modifier is a directive to the compiler's op...
What is the value of this expression? +1-2*3/4 -0.5
What is Native Image Generator (Ngen.exe)? The Native Image Generator utility (Ngen.exe) allows you ...
Explain simple Walk through of XmlReader ? In this section we will do a simple walkthrough of how to...
What is CAR (Causal Analysis and Resolution)? The basic purpose of CAR is to analyze all defects, pr...