Answer Posted / 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 |
Post New Answer View All Answers
How can I change the size of the dynamically allocated array?
Can you please explain the difference between exit() and _exit() function?
Explain the concept and use of type void.
How do I round numbers?
Can a void pointer point to a function?
What is selection sort in c?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is the role of this pointer?
write a program fibonacci series and palindrome program in c
When is a “switch” statement preferable over an “if” statement?
What is the difference between break and continue?
What does emoji p mean?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the significance of an algorithm to C programming?