what is self refrential structure

Answers were Sorted based on User's Feedback



what is self refrential structure..

Answer / silpa

if a structure tag is a datatype of a variable or data
member then it is known as a self referential structure.


for ex
template <class t>

struct node
{
t data;
node *link;//here link is a variable which contains data
type of structuretag ie node
}

Is This Answer Correct ?    12 Yes 0 No

what is self refrential structure..

Answer / vignesh1988i

whenever a structure is been pointed by the same structure
pointer which is the member of the same structure is called
as self referential structure....


thank u

Is This Answer Correct ?    7 Yes 0 No

what is self refrential structure..

Answer / ambar

whenever a structure calls itself during execution it is
known as a self referential structurte

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }

3 Answers   HCL,


How can you tell whether two strings are the same?

0 Answers  


What are actual arguments?

0 Answers  


main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?

9 Answers   Ramco,


What is the purpose of macro in C language?

0 Answers   Fidelity,






How can you convert integers to binary or hexadecimal?

0 Answers  


What is wrong with this program statement?

0 Answers  


Why preprocessor should come before source code?

2 Answers  


what is c

4 Answers  


What is variables in c?

0 Answers  


What happens if a header file is included twice?

0 Answers  


How does selection sort work in c?

0 Answers  


Categories