TP-02/power_of_two/power_of_two.c

8 lines
115 B
C

#include <stdio.h>
#include "power_of_two.h"
unsigned long power_of_two(unsigned char n)
{
return 1ul << n;
}