Error: expected '=', ',', ',' 'asm' or ' _attribute_' before '<' token in C
A very common error in C programming language, it occurs when # is not used before the include.
As we know that #include is a preprocessor directive and it is used to include a header file's code to the program. But, include is nothing without #, it is not valid and it cannot be used to include a header file in the program.
Example:
Output
How to fix?
To fix this error - use #include.
Correct code:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer