How can i identify the error whether it is compile error or runtime error ?

How can i identify the error whether it is compile error or runtime error ?

Looks like an interesting question...

:-O

There could be 3 types of errors

1. Compiler error
2. Linker error
3. Run time error

The answer for you asked is ,
If 1 & 2 can be combined to be called as compile time/ build time error, it happens when you try to compile ;) or build your program.

Run time error is said to occur when you try to run your executable and see that the program does not do what it requires to do.
Executable is obtained as a result of successful compilation.

thanks to sree_ec from sai balaji if u want add me as a friend send me u'r details to my mail "<<snip>>".ok

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.