what is self refrential structure
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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); }
How can you tell whether two strings are the same?
What are actual arguments?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?
What is the purpose of macro in C language?
How can you convert integers to binary or hexadecimal?
What is wrong with this program statement?
Why preprocessor should come before source code?
what is c
What is variables in c?
What happens if a header file is included twice?
How does selection sort work in c?