We know each process has its process table which have process ID, PC, priority, list of open files etc etc... Now if we have two process A and B.. OS issues process A to the processor.. process A starts its execution and it open a file.. After this process context switch and process B get a chance.. Process B closes the file which process A has opened..
Now what will happen..?
Will there be a change in entries in process table of process A.. what will happen when process A will resume its execution..