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 |
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is formal argument?
What are function pointers? Provide an example.
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
Explain what is the benefit of using an enum rather than a #define constant?
What is the purpose of macro in C language?
Suggesting that there can be 62 seconds in a minute?
What is wrong with this declaration?
64/square(4)
Is c programming hard?
How do shell structures work?