Tell me with an example the self-referential structure?
Submitted by: AdministratorA self referential structure is used to create data structures like linked lists, stacks, etc. Following is an example of this kind of structure:
struct struct_name
{
datatype datatypename;
struct_name * pointer_name;
};
Submitted by: Administrator
struct struct_name
{
datatype datatypename;
struct_name * pointer_name;
};
Submitted by: Administrator
Read Online C Pointers Job Interview Questions And Answers
Top C Pointers Questions
☺ | What would be the equivalent pointer expression for referring the array element a[i][j][k][l] |
☺ | Tell me with an example the self-referential structure? |
☺ | Explain what is the purpose of "extern" keyword in a function declaration? |
☺ | What is the difference between exit() and _exit() function? |
☺ | Do you know the use of fflush() function? |
Top C Programming Categories
☺ | C Functions Interview Questions. |
☺ | C Pointers Interview Questions. |
☺ | C Preprocessor Interview Questions. |