answersLogoWhite

0


Best Answer

The Turbo C++ compiler should tell you what the exact nature of the problem is since syntax errors are, by their very nature, compile-time errors. For instance, you may have made a typo when declaring one of the function's types, or forgotten to include the semi-colon to terminate the declaration. If any arguments are assigned default values, they must all be listed after all the arguments that do not have default values. And no two functions can have the same signature within the same scope or namespace.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

You've missed a comma, bracket or other separator in your argument. Or your argument is invalid.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Most likely there was a syntactical error in that declaration. No-one could tell more without seeing the source.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

There is no generic solution for every syntax error. (If there were, the compiler would do it automatically, don't you think so?)

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you solve declaration syntax error in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Define briefly about procedures and macros in microprocessor?

Procedures-Procedure is the set of codes written in other module used 2 solve a specific task and can be included in the main program when an instruction CALL is used in the program. Macro is also the set of codes used in the 'main program' or same module used to solve a specific task. Macros can be called in the program with the syntax using syntax-MACRO_NAME(actual variables). But the macros should be included in the program with the syntax MACRO_NAME(dummy variables). Dummy and actual variables should match.


When attempting to install a program I get an error message saying that another installation is in progress. How can I solve this?

If a person is installing a program and an error message says another installation is in progress, it is possible that the program being loaded initially is not a viable program. Perhaps there is an error in the software program.


Is it necessary to know the syntax for solving a problem on the computer?

No. We solve problems with algorithms, not with syntax.


How are language syntax and algorithms alike?

Language syntax and algorithms are not alike. These are two different things. Syntax is the specification of how a particular step is described to the compiler, while an algorithm is a syntax independent way of describing the process used to solve a problem.


Does the Philippine government have a program to solve unemployment?

No, they have no program to solve unemployment.


A utiltiy that autimatically launches when an application problem occurs it generates a report that you can then send to the device developers to help them solve the problem?

DR WATSON Dr. Watson for Windows is a program error debugger that gathers information about your computer when an error (or user-mode fault) occurs with a program. Technical support groups can use the information that Dr. Watson obtains and logs to diagnose a program error.


How to solve clearing netbt erroR in lan connection?

That depends on what error you are getting. What was the error?


How you can solve error 2147467259?

can't.


How do you get the declaration in time tangled?

You must go to the documentary guy, solve a puzzle, and your reward will be the declaration


How do you solve pcsx2 ps2 emulator error opening gs plugin?

ME to how will u solve error opening GS plugin*pcsx2?


How are the US Constitution and the Declaration of Independence similar?

The Declaration of Independence was exactly as it sounds, and the Constitution was crafted, in large part, around trying to solve the problems of government that the Declaration complained of.


Difference between runtime error and logical error?

Syntax Errors and Logical ErrorsSyntax errors -- Errors in spelling and grammar. You can use the compiler or interpreter to uncover syntax errors.You must have a good working knowledge of error messages to discover the cause of the error.Logical errors -- Errors that indicate the logic used when coding the program failed to solve the problem. You do not get error messages with logic errors.Your only clue to the existence of logic errors is the production of wrong solutions.There are 3 step to repair runtime errorIf you got runtime error then there is a 94% chance that your computer has registry problems. To repair runtime error you need to follow the steps below:* Step 1 - Download a runtime error repair tool,install this error repair tool.* Step 2 - Click the Repair All Button.It will scan you PC for Free.* Step 3 - Then click the Repair All Button again and your done! It is very easy to repair runtime error.Here are the URL of runtime error repair tool:http://www.fixerrorquick.com/ttfix-runtime_error-zz0005