-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbool.h
More file actions
22 lines (18 loc) · 1.04 KB
/
bool.h
File metadata and controls
22 lines (18 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ,-. Group 08 //
// , ( {o\ Satvik Golechha :: 2017A7PS0117P ///
// {`"=,___) (`~ Bharat Bhargava :: 2017A7PS0025P ////
// \ ,_.- ) Ayush Jain :: 2017A7PS0093P /////
// ~^~^~^`- ~^ ~^ '~^~^~^~ //////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>
#ifndef __BOOL
#define __BOOL
#define MAX_BOOL_ARRAY_SIZE 150 // maximum allowed length of boolean array
void initialize_bool_array(bool* arr);
bool* or(bool * arr1, bool* arr2);
bool* and(bool * arr1, bool* arr2);
bool* xor(bool * arr1, bool* arr2);
bool* not(bool * arr1);
void print_bool(bool* arr, int size);
void or_and_store(bool * arr1, bool* arr2);
#endif