If you attach hello.txt to your project (Upload and Crate New File buttons are on the left side of RUN button) then you do not need to specify anything else (no need for full path) just the file name. Also, the r part should be in quotes.
#include <stdio.h>
//...
FILE * file = fopen("hello.txt", "r");