how many error occurs in C language ?
Answer Posted / mrs.ahmer
There are three types of errors in C language.
1:syntax error:-It occurs if The statement terminator is
missing at the end of statement,A misspelled keyword is
used in the program,Any of the delimiters is missing.
2:Logical error:-It occurs due to wrong logic of
programmer.it usually occurs when programmer writes wrong
formula to calculate the result.
3:Runtime error:-A type of error that occurs during the
execution of a program is known as runtime error.If user
may ask the program to open a file that does not exist or
the user may enter wrong type of data.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Can we change the value of #define in c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Explain the use of 'auto' keyword in c programming?
How can you tell whether two strings are the same?
What is array of structure in c?
What is clrscr ()?
What is the data segment that is followed by c?
What are the advantages and disadvantages of a heap?
What is the scope of local variable in c?
What does & mean in scanf?
Do pointers take up memory?
show how link list can be used to repersent the following polynomial i) 5x+2
What is %d used for?
What is array in c with example?