I have used the crypt function in c to encrypt the given string. I have written the following code,
#include #include int mai
You have to #define __XOPEN_SOURCE before you #include the header files.
#define __XOPEN_SOURCE
#include