#c++ multiple choice question
1 messages · Page 1 of 1 (latest)
<@&987246964494204979> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
Without the specific question or code provided, it is not possible to determine the correct answer. Both logical errors and syntax errors are common in programming, but their occurrence depends on the specific code being analyzed.
yeah the joke is your missing the whole int main structure
i already saw it somewhere
but thats not the question here
its a code snippet
you can ignore the missing main method
the syntax error is something else
its obv missing the main method
and the answer would be B
but why should you care
its literally syntax error because you got an else statement without an if
Error
You’re on crack fam
indeed
lmao
but as i said
im 100% sure i saw this somewhere where the code was normal
and the answer was that it couldnt compile because it wasnt in a main function
¯_(ツ)_/¯
Nah bro that’s just the code, the main and library (include) thing should work properly
alright§
Thanks guys @high shoal @rigid totem
np