Question 61
BOOK(Book_id, Title, Publisher_name) BOOK_AUTHORS(Book_id, Author_name) PUBLISHER(Name, Address, Phone) BOOK_COPIES(Book_id, Branch_id, No_of_copies) BOOK_LOANS(Book_id, Branch_id, Card_no, Date_out, Due_date) LIBRARY_BRANCH(Branch_id, Branch_name, Address) BORROWER(Card_no, Name, Address, Phone)Note that BOOK_COPIES only contains entries where No_of_copies is at least 1 - if a branch doesn\'t contain any copies of some book, there is no entry in BOOK_COPIES (not an entry with 0 copies). Key attributes are underlined. The foreign key constraints are the following:
Question 62
#include <stdio.h>#include <string.h>void geek1(char *s1, char *s2) { char *temp; temp = s1; s1 = s2; s2 = temp;}void geek2(char **s1, char **s2) { char *temp; temp = *s1; *s1 = *s2; *s2 = temp;}int main() { char *str1 = \"for geek\", *str2 = \"by geek\"; geek1(str1, str2); printf(\"%s %s\", str1, str2); geek2(&str1, &str2); printf(\" %d\", (int) strlen(str1)); return 0;}
Question 63
Question 64
Question 65
There are 65 questions to complete.