tgrekov-push_swap
HIVE push_swap July 2024
Loading...
Searching...
No Matches
fallback.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* fallback.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/07/16 11:32:03 by tgrekov #+# #+# */
9/* Updated: 2024/07/17 08:31:12 by tgrekov ### ########.fr */
10/* */
11/* ************************************************************************** */
12
27int fallback(int a, int b)
28{
29 if (a)
30 return (a);
31 return (b);
32}
int fallback(int a, int b)
Return a if non-zero, otherwise return b.
Definition fallback.c:27