Point out the error, ifany, in the followingb code? typedef struct { int data; NODEPTR link; } *NODEPTR;
Correct Answer
A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time typedef struct { char name[20]; int age; } emp; However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared
More questions
1. In the relational model, relationships between relations or tables are created by using:
Correct Answer: Object Repository means not a collection of objects it's a common repository for all the people (testing, developers) for seeing all the data in single login for example QA wants to see 5 testers works then he goes to each person login and see the data It's very difficult job for this we can use Object Repository
Correct Answer: The OSI Model is used as a reference model The primary reason the OSI model was created was so that different networks could inter-operate Hence, different networks could communicate