C Language Interview Questions and Answers for Freshers - 7
Question: 31
What is the difference between Library Function and User-Defined Function?
Library functions are the functions which are already written in some standard libraries.
User defined function means the function which are written by the user to perform particular task.
Question: 32
What is a Function?
A Function is a set of instructions used to perform a specified task which Repeatedly occurs in the main program.
Question: 33
What is the difference between declaration and definition of a function?
Like variables, declaration of a function only identifies the return type of the function and the type of format arguments. The declaration of a function is usually referred as a function prototype.
On the other hand, definition of a function contains the statements to accomplish the intended task. Like variables functions also have an address associated with its name.
Question: 34
Can we make our own library of functions?
Yes. Different compilers provide different utilities to add/delete/modify functions in the standard library.
For example Turbo C/C++ compilers provide a utility called TLIB.EXE. Using this utility we can also develop a completely new library.
Question: 35
What is the use of sizeof() functions of?
sizeof() function is used to find the memory space allocated for each data type in C.
- Top 500+ C Language Interview Questions and Answers Pdf
- C Language Interview Questions and Answers
- C Language Interview Questions and Answers for Freshers
- C Language Interview Questions and Answers for Experienced
- C Programming Interview Questions and Answers
- Embedded C Interview Questions and Answers Pdf
- Top 200+ Advanced C Language Interview Questions 2020-2021
- C Programming Question Bank with Answers Pdf
- C Programming Interview Questions and Answers for Freshers
- C Programming Interview Questions and Answers for Experienced
- C Programming Basics Questions and Answers Pdf
- 1000+ Advanced C Programming Interview Questions & Answers
- 1000+ C Interview Questions and Answers 2023 - 2024 Pdf
- 1000+ C Programming Coding Questions and Answers
- 1000+ C Basic Interview Questions for Freshers Pdf
- 1000+ C Questions and Answers Pdf
Science Solutions Class 10 Important Questions and Answers More
Science Solutions Class 10 Important Questions and Answers More
Samacheer Kalvi 10th Science Solutions Questions & Answers More
Samacheer Kalvi 10th Science Carbon and Its Compounds Questions More
Carbon and its Compounds Class 10 Questions and Answers More
1000+ Drilling MCQ Questions and Answers Pdf More
1000+ Tricks to Solve Reasoning Questions for Bank Exams More
50+ Aptitude Banker's Discount Problems with Solutions Pdf More
1000+ Toronto Dominion Bank Aptitude Test Questions & Answers Pdf More
100+ Direct/Simple Analogy Questions for Bank Exams Pdf More