1. Question:What is debugging? 

    Answer
    Debugging is the process of identifying errors within a program. During program compilation, errors that are found will stop the program from executing completely. At this state, the programmer would look into the possible portions where the error occurred. Debugging ensures the removal of errors, and plays an important role in ensuring that the expected program output is met.






    1. Report
  2. Question:What are preprocessor directives? 

    Answer
    Preprocessor directives are placed at the beginning of every C program. This is where library files are specified, which would depend on what functions are to be used in the program. Another use of preprocessor directives is the declaration of constants.Preprocessor directives begin with the # symbol.






    1. Report
  3. Question:What are the different file extensions involved when programming in C? 

    Answer
    Source codes in C are saved with .C file extension. Header files or library files have the .H file extension. Every time a program source code is successfully compiled, it creates an .OBJ object file, and an executable .EXE file.






    1. Report
  4. Question:What are run-time errors? 

    Answer
    These are errors that occur while the program is being executed. One common instance wherein run-time errors can happen is when you are trying to divide a number by zero. When run-time errors occur, program execution will pause, showing which program line caused the error.






    1. Report
  5. Question:What are reserved words? 

    Answer
    Reserved words are words that are part of the standard C language library. This means that reserved words have special meaning and therefore cannot be used for purposes other than what it is originally intended for. Examples of reserved words are int, void, and return.






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd