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:
Why cant I perform arithmetic on a void pointer?
Why cant I perform arithmetic on a void pointer?
✍: Guest
The compiler doesn't know the size of the pointed-to objects. (Remember that pointer arithmetic is always in terms of the pointed-to size; Therefore, arithmetic on void *'s is disallowed (though some compilers allow it as an extension). Before performing arithmetic, convert the pointer either to char * or to the pointer type you're trying to manipulate
2015-12-07, 1604👍, 0💬
Popular Posts:
How do I debug thread ? This window is only seen when the program is running in debug mode. In windo...
Can you explain steps in function points? Below are the steps in function points: >First Count ILF, ...
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the ...
Can you have virtual functions in Java? Yes, all functions in Java are virtual by default. This is a...
Which bit wise operator is suitable for turning off a particular bit in a number? The bitwise AND op...