C programming #5
Describe Wild Pointers in C’ Uninitialized minters in the c code are ‘known as Wild Pointers. These are the point to some arbitrary memory location and can cause bad program behavior or ‘programming crash’.
‘What is a dangling pointer in C?
There is a pointer pointing to memory address of any specific variable, but ‘after some time the variable was deleted from the memory location while keeping’ the pointer pointing to that location.
‘What is a far pointer in c?
‘A pointer that can access all the 16 segments (whole residence memory) of RAM is known as far pointer. A far pointer is a 32-bit pointer that receives information ‘outside the memory in a given section.
‘What is pointer to pointer in c?
In the case of a pointer to pointer concept, one pointer refers to the address of another ‘pointer. Generally, the pointer is a containing the (address of a variable). The pointer is the ‘pointer containing the first pointer of the address.
What is memory leak? Why should it be ‘avoided’?
Memory leak occurs when programmers ‘create a memory in it and forget it’ delete it. Memory leaks are especially serious issues for programs like daemons’ and servers that by definition never terminate.
Describe static function with its usage?
(A function, which has a function definition prefixed with is a static keyword defined as a static function. The static ‘function should be call within the same’ source code.
What is the different between programming by pass ‘value’ and pass by reference?
‘In pass by value, changes made to the arguments in the called function will not be reflected in the calling function. Whereas in pass by reference, the changes made to the arguments in the called function will be reflected in the calling function.
What is the difference between and a union a structure?
‘All members of a structure can be accessed simultaneously but the union can access’ Only one member at a time Lesser memory is required for a structure variable than the same types.
‘What is typecasting?
The typecasting is a process of converting ‘one data type into another known as typecasting. If we want to store the floating ‘type value to a tintype’, then we will ‘convert the data type into another data type explicitly.

Comments
Post a Comment
Thanks you
for comment and your suggestion