26.Encrypt/Decrypt string
#include <stdio.h> void encrypt ( char * a ) { while (* a != ' \0 ' ) { * a =* a + 1 ; a ++; } } void decrypt ( char * c ) { while (* c != ' \0 ' ) { * c =* c - 1 ; * c ++; } } int main (){ char str [] = "hi bro how are you" ; encrypt ( str ); printf ( "Encrypted string is : %s " , str ); decrypt ( str ); printf ( " \n Decrypted string is : %s " , str ); return 0 ; }