#include <stdio.h>
int main()
{
char arr[] = "Deltax";
printf("%s", ?);
return e;
}
Answers
Answered by
0
C CODE
#include <stdio.h>
int main()
{
char arr[] = "Deltax";
printf("%s", ?);
return e;
}
Output
error: expected expression before ‘?’ token
- anticipated expression When the compiler expects an expression on the line where the error occurred, this error is generated. The trailing comma in the initializer in the following example tells the compiler that another expression will come after it.
- When a token is found in a place where it does not belong, this error is produced. A keyword, identifier (the name of a class, struct, method, etc.), string, character, or numeric literal value, such as 108, "Hello," or "A," as well as an operator or punctuation mark, such as == or ;, are examples of tokens.
#SPJ1
Similar questions