What are the advantages of the functions - What is the difference between include‹ › and include
C Language Interview Question and Answers:16. What are the advantages of the functions?
It reduces the Complexity in a program by reducing the code.
Function are easily understanding and reliability and execution is faster.
It also reduces the Time to run a program.In other way,Its directly proportional to Complexity.
Its easy to find-out the errors due to the blocks made as function definition outside the main function.
17. What is a macro?
Macros are the identifiers that represent statements or expressions. To associate meaningful identifiers with constants, keywords, and statements or expressions.
18. How do declare an array?
We can declare an array by specify its data type, name and the number of elements the array holds between square brackets immediately following the array name.
syntax :
data_type array_name[size];
19. What is arrays?
Array is a variable that hold multiple elements which has the same data type.
20. What is the difference between #include‹ › and #include “ ”?
#include‹ › ----> Specifically used for built in header files.
#include “ ” ----> Specifically used for used for user defined/created n header file.
No comments:
Post a Comment