is to be stored in a binary file.
Design and develop ac program
to display range of soccords in a
given set as Book erecoord which
Answers
Answered by
0
Answer:
okkkkkk..... .............
Answered by
0
AC program to display a rangpe of others in a given set as a Book record which
Explanation:
- This program will unlock the provided file in reading mode. We will use the read() standard library function to read the records one at a time. The given name of the student will be matched with the name in the current student record. If the record is matched, the student's record will be displayed on the screen. The break statement causes the loop to terminate.
- This standard function will check if all characters in strings are equal, then the string comparison function will return a value of 0 (zero).
- If the ASCII law of the first unmatched character is less than the corresponding character in the second string, the strcmp() function will return a negative value.
- The strcmp() function will return a positive value if the ASCII law of the first unmatched character is greater than the corresponding character of the second string.
Similar questions
English,
2 months ago
English,
2 months ago
Computer Science,
2 months ago
Math,
4 months ago
Math,
4 months ago
Science,
10 months ago
India Languages,
10 months ago