Apuntes
Quiz 1: C Programming
Contenido del apunte (1)
Página 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
Información
- Descripción
- Apunte sobre Quiz 1: C Programming, creado por Sahil Deshpande el 23/03/2020.
- Creado por
- Sahil Deshpande · mar 2020
- Actualizado
- 23 mar 2020
- Visitas
- 2
- Valoración
Más sobre Functions and Program Structure