Friday 4 March 2016

What is the difference between C & Fortran compiler?


C   Vs   Fortran Compiler :

  • C compiler ignores that overflow caused by arithmetic of memory address (unsigned int) while in case of FORTRAN it's taken care.

  • There are many differences between C and fortran as computer programming language.
  • But the core difference that i found at hardware side in compiler of both language is REACTION TOWARDS memory OVERFLOW.
  • While adding two no.s of 32 bits , it may so happen that answer of addition exceeds max value , that can be stored in 32 bits. It is basically known as memory overflow.
  • But memory addresses are always unsigned so in that case compiler has two option either ignore the unsiged overflow or taken care.
  • C compiler ignores that unsigned memory address overflow while in case of FORTRAN it's taken care

No comments:

Post a Comment

How to install google-chrome in redhat without redhat subscription

Install google-chrome in redhat  Download the .rpm file of chrome https://www.google.com/chrome/thank-you.html?installdataindex=empty&st...