Notizen
Quiz 1: C Programming
Inhalt der Notizen (1)
Seite 1
bsearch(&key, &base, num_items, size_element, compare_func)->Returns pointer to element in array matching value, NULL otherwise
qsort(&base, num, size, compare_func): Compare function allows flexibility, any type of variable for comparison and also to decide the order in which to be sorted. Compare function has 2 arguments, and return value for the function decides the order in which the two elements are to be placed relative to each other.
sscanf(&str, &format) : format = [=%*[width][modifiers]type=] * indicates data that is read is to be ignored from given width
Informationen
- Beschreibung
- Notiz am Quiz 1: C Programming, erstellt von Sahil Deshpande am 23/03/2020.
- Erstellt von
- Sahil Deshpande · Mär 2020
- Aktualisiert
- 23 Mär 2020
- Aufrufe
- 2
- Bewertung
Mehr zu Functions and Program Structure