Anyone know that c program got wat type of error?

What do you mean?

Erm, such like syntax error that kind, got what other type of error else?

Erm, such like syntax error that kind, got what other type of error else?

What on earth are you talking about?
Follow the rules of the forum and ask a proper question.

Maybe semantic errors? that the code works but doesn't do what you want?

no idea if sematic is english, (i translated it loosely from dutch)

>Got exam tomorrow
Cool! I've exams too within 3-and-a-half months, wish me the best :P.

>Erm, such like syntax error that kind, got what other type of error else?
So, if I don't misunderstand you, you want to know some kind of syntax error?
Well, that's not very difficult, just try to compile this program and learn the error messages by heart:

#include <stdio.h>

int main(void)
{
  /* Hey, /* this is a very nice comment*/ */
  printf("I would like to get some syntax errors in this program...")
  return something;
}}

:P

Comments
Cheeky reply!

>Got exam tomorrow
So you've been screwed.
Now did you remember when your instructor told you to read a text book?

>Anyone know that c program got wat type of error?
Yes.

Comments
I've exams tomorrow, can you help me? :P

Anyone know that c program got wat type of error?

Perhaps you're inquiring about a runtime error?

When I think about programming, the two types of errors that I consider to be significant. These are syntactical errors and logical errors.

Syntax concerns the format of your code and whether the computer can understand what your code says.

Logic concerns whether your program does what you intended it to do.

In order to compile, your code requires correct syntax. Logic, however, it does not.

This article has been dead for over six months. Start a new discussion instead.