Hi I have the following program. When I compile on the terminal gcc main.c I do get an executable named a.out. However if I type a.out in the terminal I get the following message: a.out: command not found
Any ideas on what I might be doing wrong?
#include <stdio.h>
#include <stdlib.h>
#define PROMPT "print something"
/*
*
*/
int main() {
printf("CS-xxx Assignment x, xxxxx\n");
printf(PROMPT);
return (EXIT_SUCCESS);
}