Invalid application of 'sizeof' to incomplete type 'struct Node'
-
Cause of this error ?
-
Cause of this error ?
ZAID razvi wrote:
Cause of this error ?
Since you didn't provide any code snippets or problem description then: [error invalid application of 'sizeof' to incomplete type - Google Search](https://www.google.com/search?q=error+invalid+application+of+'sizeof'+to+incomplete+type&oq=Invalid-application-of-sizeof-to-incomplete-type-s&aqs=chrome.1.69i57j0i546l2.9455j0j7&sourceid=chrome&ie=UTF-8#ip=1)
-
Cause of this error ?
The error message is clear: at the point the compiler encounters
sizeof(struct Node)
(orsizeof(nd)
, or whatever...) it doesn't know the size, because the complete declaration ofstruct Node
is missing. You could post the relevant code, in order to get better help."In testa che avete, Signor di Ceprano?" -- Rigoletto
-
The error message is clear: at the point the compiler encounters
sizeof(struct Node)
(orsizeof(nd)
, or whatever...) it doesn't know the size, because the complete declaration ofstruct Node
is missing. You could post the relevant code, in order to get better help."In testa che avete, Signor di Ceprano?" -- Rigoletto
-
The error message is clear: at the point the compiler encounters
sizeof(struct Node)
(orsizeof(nd)
, or whatever...) it doesn't know the size, because the complete declaration ofstruct Node
is missing. You could post the relevant code, in order to get better help."In testa che avete, Signor di Ceprano?" -- Rigoletto
Thanks sir it helped me alot
-
ZAID razvi wrote:
Cause of this error ?
Since you didn't provide any code snippets or problem description then: [error invalid application of 'sizeof' to incomplete type - Google Search](https://www.google.com/search?q=error+invalid+application+of+'sizeof'+to+incomplete+type&oq=Invalid-application-of-sizeof-to-incomplete-type-s&aqs=chrome.1.69i57j0i546l2.9455j0j7&sourceid=chrome&ie=UTF-8#ip=1)
Thanks for replying sir The problem is solved I'll let you know If encountered any other
-
Thanks sir it helped me alot