Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
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, 7022👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What Is a LABEL Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "label" ...
Can you explain project life cycle ? Figure :- 12.2 Life cycle of a project There are five stages of...
What Is a TD Tag/Element? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells A "td" elemen...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...