Why can arithmetic operations not be performed on void pointers?
Answer / Atul Kumar Pal
Arithmetic operations cannot be performed on void pointers in C because their type does not provide any information about the size or data representation they point to. Void pointers are used solely as a general-purpose pointer type.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS INT?
while initialization of array why we use a[][2] why not a[2][]...?
What is the difference between array_name and &array_name?
What is wrong with this declaration?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
How can I find the modification date of a file?
A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
where does malloc() function get the memory?
Explain Function Pointer?
why 'c' is called middle level language.
no consistent academics. how to answer the question
How do we print only part of a string in c?