In the Project options the processor is ARM Cortex M4 The debug mode is simulation
I am running the following application code #include<stdio.h> #include <stdlib.h>
FILE *fid;
int main(void) { int a; char buff[20];
fid = fopen("E:\\Testing\\keil_projects\\datar_proj\\readfile\\read.log","r"); if(fid == NULL) { a = a +1; } fread(buff,1,10,fid); fclose(fid); a = a + 1; printf("i am indian\n"); return 0; }
There are no build errors. When the code is run, the contents of the buff variable are and not as expected.