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 printf format should I use for a typedef like size_t when I don't know whether it is long or some other type?
What printf format should I use for a typedef like size_t when I don't know whether it is long or some other type?
✍: Guest
Use a cast to convert the value to a known, conservatively-sized type, then use the printf format matching that type. For example, to print the size of a type, you might use
printf("%lu", (unsigned long)sizeof(thetype));
2015-11-04, 1162👍, 0💬
Popular Posts:
How can we format data inside DataGrid? Use the DataFormatString property.
What invokes a thread's run() method? After a thread is started, via its start() method of the Threa...
How many types of validation controls are provided by ASP.NET ? There are six main types of validati...
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
What is the difference between Authentication and authorization? This can be a tricky question. Thes...