sorrie im new at this.. but whats wrong with my code?

#include <iostream.h>
#include <string.h>


main()

{
char *test;
test = NULL;
*test = 'x';
cout << *test << endl;
}