-
Is using exit() the same as using return?
No. The exit() function is used to exit your program and return control to the operating system. The return statement is used to return from a function and return control to the calling function. If you issue a return from the main() function, you are essentially returning control to the calling function, which is the operating system. In this case, the return statement and exit() function are similar....
-
What is a pointer variable?
A pointer variable is a variable that may contain the address of another variable or any valid address in the memory.
-
-
-
-
What is a pointer value and address?
A pointer value is a data object that refers to a memory location. Each memory locaion is numbered in the memory.The number attached to a memory location is called the address of the location.
-
-
-
-
-
-
-
How can I do this using recursion ?
For the List class, add a Boolean-valued function that determines whether the data items in the linked list are arranged in ascending order. How can I do this using recursion ?
-
-
-
-
-
How can I search for data in a linked list?
Unfortunately, the only way to search a linked list is with a linear search, because the only way a linked list’s members can be accessed is sequentially. Sometimes it is quicker to take the data from a linked list and store it in a different data structure so that searches can be more efficient.
-
-
C Interview Questions
Ans