Hi there,
I am having an issue with submitting the RNA Transcription solution for C.
I coded the solution in Visual Studio and it works fine, but I get the following error when I submit my solution:
make: *** [makefile:22: test] Segmentation fault (core dumped)
As a test, I changed the code to a simple return statement to see if the tests would run. Even with this test I am still receiving the segmentation fault. The simple test code I tried to see if the tests would run is:
char* to_rna(const char* dna) {
if (dna != NULL) return “A”;
else return “U”;
}
The above test code works in Visual Studio and outputs “A”.