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 |
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
how to write hello word without using semicolon at the end?
nic scientist exam
What is define directive?
What are keywords in c with examples?
What is dynamic dispatch in c++?
what is the use of keyword volatile??
consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is
How can I allocate arrays or structures bigger than 64K?
Find if a number is power of two or not?
How to calculate sum
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }