Computer Science, asked by padhureddyk01, 5 months ago

#include <stdio.h>
int main()
{
char arr[] = "Deltax";
printf("%s", ?);
return e;
}​

Answers

Answered by Jasleen0599
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