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:
I think somethings wrong with my compiler ...
I think something's wrong with my compiler: I just noticed that sizeof('a') is 2, not 1 (i.e. not sizeof(char)).
✍: Guest
Perhaps surprisingly, character constants in C are of type int, so sizeof('a') is sizeof(int) (though this is another area where C++ differs).
2016-03-04, 1496👍, 0💬
Popular Posts:
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...
What is difference between Association, Aggregation and Inheritance relationships? In object oriente...
What metrics will you look at in order to see the project is moving successfully? Most metric sets d...
What Is C Language? The C programming language is a standardized programming language developed in t...
What Tools to Use to View HTML Documents? The basic tool you need to view HTML documents is any Web ...