error C2040: 'memset'

error C2040: 'memset' : 'void *(void *,int ,unsigned int )' differs in levels of indirection from 'void *(void *,int ,unsigned int )'

This file was included. #include <string.h>

Let me know what is wrong.
I think your problem is on line 17.
Please provide detail
But I'm certain you haven't given that function the address of the memory you want set.
Error is being shown in string.h
Please provide detail


Ironic...
I am getting the above message as error in a C file where I have include string.h and other files.
"My car won't start, how do I fix it?"
"Can you tell me more?"
"My car won't start when I turn the key, how do I fix it?"
Topic archived. No new replies allowed.