test.c
function to display $ prompt