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, 1531👍, 0💬
Popular Posts:
What does a special set of tags <?= and ?> do in a PHP script page? <?= express...
Where are all .NET Collection classes located ? System.Collection namespace has all the collection c...
What are shared (VB.NET)/Static(C#) variables? Static/Shared classes are used when a class provides ...
How does ASP.NET maintain state in between subsequent request ? Refer caching chapter.
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...