how many error occurs in C language ?

Answer Posted / jayasrinivas.donavalli

How can we say how many errors in C language,but Usually
Every Language has some errors like Syntaical and
Symantical Errors
Syntatical Errors are the error in the syntax like int x.
but here instead of semi colon we palce dot that is the
syntatical error.
Symantical Errors: The errors are in the symantics like If
is the keyword instead of that we write ef
then the meaning is changed that is symantical errors.
The above two errors are Compile time errors and we have
some runtime errors.They are due to some infinite loops
garbage collection or memory shortage or wrong Inputs

Is This Answer Correct ?    26 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c system32 taskhostw exe?

608


When should a far pointer be used?

611


What is the stack in c?

732


How can you invoke another program from within a C program?

624


What is d scanf?

610






Does c have enums?

610


What is a ternary operator in c?

670


The difference between printf and fprintf is ?

724


Write a code on reverse string and its complexity.

622


What functions are used in dynamic memory allocation in c?

604


Do you know the difference between malloc() and calloc() function?

623


What is c preprocessor mean?

804


What is the function of this pointer?

685


How macro execution is faster than function ?

677


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2566