Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Display Traversal Mode ?

insert node at specific Position?

Display traverse node

Insert node specific position

92) Fix the Error

typedef struct
{
int day;
int month;
int year;
} date_t;
typedef struct
{
char surname[20];
char forename[20];
date_t  birthday;
} person_t;
int main() {
person_t    person[MAX_ENTRIES];
inentry;
for (entry = 0; entry < MAX_ENTRIES; entry++)
{
printf("\n\nRecord %d:\n", entry);
printf("Enter the surname: ");
scanf("%s", person[entry].surname);

scanf("%s", person[entry].forename);

scanf("%d", &person[entry].birthday.day);

scanf("%d", &person[entry].birthday.month);

scanf("%d", &person[entry].birthday.year);
printf("Enter an index between 0 and %d: ", MAX_ENTRIES - 1);
scanf("%d", &entry);                
printf("Surname: %s\n", person[entry].surname);
printf("Forename: %s\n", person[entry].forename);
printf("Date of birth: %02d/%02d/%04d\n\n\n",











Write a C++ program that takes the input (or initializes randomly) in 2-dimensional square matrix of odd rows and columns. Your

program should calculate the sum of all values except the center value. Store the sum in center element of array. The program must then

display the resultant array. The program must work for all odd number square matrices. Do not write code for fixed size matrix.


DISCOVER the purpose of Header fields used in TCP /IP i. Sequence Number ii. Fragment offset iii. Urgent Pointer iv. Header Check v. Option + Padding


EXPLAIN in details why the fragmentation considered as a harmful method to be used in internet protocols.


LATEST TUTORIALS
APPROVED BY CLIENTS