Which safety critical coding standard do you use for the C language?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Oracle, Hindi, C++, C, MS Office, VBScript,JavaScript,Spoken English etc with 32 years of experience

The most popular coding standard for safety critical C is the MISRA C standard. There are several safety critical coding standards for C++. The Joint Strike Fighter C++ Avionics coding standard, commonly referred to as JSF++, was the first such standard. JSF++ was heavily based upon the MISRA C standard. After...
read more
The most popular coding standard for safety critical C is the MISRA C standard. There are several safety critical coding standards for C++. The Joint Strike Fighter C++ Avionics coding standard, commonly referred to as JSF++, was the first such standard. JSF++ was heavily based upon the MISRA C standard. After the JSF++ standard was published the MISRA organization developed and published the MISRA C++ standard. Some time later the company PRQA, working from both the JSF++ standard and the MISRA C++ standard published the High Integrity C++ coding standard. Every safety critical coding standard must actually improve the safety of software developed when following that code. There are no published studies of any of these standards to prove their effectiveness in improving software safety. The standards appear to be based upon attempts to limit known vulnerabilities in C or C++. Each of these coding standards is very large, with more than 100 rules in each of the standards. There are many commercial tools which claim to automatically verify compliance with these standards. In reality each tool is strong in verifying some rules and at the same time weak in verifying some other rules. Each tool has its own strengths and weaknesses. The Ada language was initially designed to support the development of safety critical software. It has since grown into a larger, more general purpose language, but still maintains the features needed to support the development of safety critical software. read less
Comments

Related Questions

How do you list a file's date and time?
int main(void) { struct tm str_time; time_t time_of_day; str_time.tm_year = 2012-1900; str_time.tm_mon = 6; str_time.tm_mday = 5; str_time.tm_hour = 10; str_time.tm_min = 3; str_time.tm_sec...
Profile Photo
Neelima
0 0
View Comments6
How do you override a defined macro?
We can use the #ifdef and #undef directive to undefine a previously defined macro.
Profile Photo
Sharmistha
How can a program be made to print the line number where an error occurs?
The ANSI C standard includes a predefined macro named __LINE__ that can be used to insert the current source code line number in your program. This can be a very valuable macro when it comes to debugging your program and checking for logic errors.
Profile Photo
Rituparna
0 0
View Comments7
Can an array be an lvalue?
When you say array, do you mean array name i.e. address, or array element. Yes, array element can be lvalue
Profile Photo
Vinodha

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...
Profile Photo

C Program-Infinite Loop[For] Demo
//Header Files #include<stdio.h>#include<conio.h> //Main function void main(){ //Function for clearing screen clrscr(); //Infinite for loop for(;;) { printf("Hello!"); } //Function for...
Profile Photo

Compiler vs Interpreter
Compiler Interpreter Convert all the code into binary format and execute. Convert one statement at a time and execute, then Convert next statement and execute. After conversion, source...
Profile Photo

Pointers Concept
Every variable has a memory location and every memory location has its address defined which can be accessed using ampersand (&) operator, which denotes an address in memory. Consider the following...
Profile Photo

C Language
To get help in C window (for keywords, functions) press Alt +F1.To delete a single line , use the shortcut key CTRL +Y.If you got error about the path when you execute a C pgm, check the Options menu =>Directories.
T

Thilagam S.

0 0
View Comments0

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you