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:
What is the difference between ......
Q: What's the difference between
const MAXSIZE = 100;
and
#define MAXSIZE 100
✍: Guest
A preprocessor #define gives you a true compile-time constant. In C, const gives you a run-time object which you're not supposed to try to modify; ``const'' really means ``readonly''.
2015-12-22, 2114👍, 0💬
Popular Posts:
What is the difference between const char* p and char const* p? In const char* p, the character poin...
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page ...
How To Get the Last ID Assigned by MySQL? - MySQL FAQs - Managing Tables and Running Queries with PH...
What Is the Difference between Formal Parameters and Actual Parameters? - Oracle DBA FAQ - Creating ...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...