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 |
class foo { public: static int func(const char*& p) const; }; This is illegal, why?
how write a addtion of two single dimensional array using of pointer in c language?
What is #line?
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??
output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }
what is the difference between arrays and linked list
26 Answers MAHINDRA, Tech Mahindra, Wipro,
How many ways are there to swap two numbers without using temporary variable? Give the each logic.
Explain how can I open a file so that other programs can update it at the same time?
What are the advantages of using linked list for tree construction?
Explain what is the difference between declaring a variable and defining a variable?
what is void pointer?
What is const and volatile in c?