We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bf4999 commit fb37e52Copy full SHA for fb37e52
0x0F-function_pointers/3-main.c
@@ -23,7 +23,7 @@ int main(int argc, char **argv)
23
num2 = atoi(argv[3]);
24
operator = argv[2];
25
26
- if (get_op_func(operator) == NULL)
+ if (operator[1] || get_op_func(operator) == NULL)
27
{
28
printf("Error\n");
29
exit(99);
0 commit comments