C Language INTERVIEW QUESTION & ANSWERS
31. |
What are the types of macro formats? |
|
There are two types of macro formats. There are - Simple
- Parameterized
|
32. |
What are the different types of errors? |
|
- Compile–Time Errors
- Linker Errors
- Runtime Errors
- Logical Errors
|
33. |
What is meant by errors and debugging? |
|
Errors may be made during program creation even by experienced programmers. Such type of errors are detected by the compiler. Debugging means removing the errors. |
34. |
What is the purpose of main() function? |
|
The function main() invokes other functions within it.It is the first function to be called when the program starts execution.- It is the starting function.
- It returns an int value to the environment that called the program.
- Recursive call is allowed for main( ) also.
- It is a user-defined function.
|
35. |
What is meant by type casting? |
|
It is the explicit type conversion required for a number before carrying out processing or assigning to another variable. |