Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
2 Rules
Rule 02. Declarations and Initialization (DCL)
Page Information
Title:
Rule 02. Declarations and Initialization (DCL)
Author:
Admin
Jun 13, 2006
Last Changed by:
David Svoboda
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/V9YxBQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
2 Rules
Children (8)
Page:
DCL30-C. Declare objects with appropriate storage durations
Page:
DCL31-C. Declare identifiers before using them
Page:
DCL36-C. Do not declare an identifier with conflicting linkage classifications
Page:
DCL37-C. Do not declare or define a reserved identifier
Page:
DCL38-C. Use the correct syntax when declaring a flexible array member
Page:
DCL39-C. Avoid information leakage when passing a structure across a trust boundary
Page:
DCL40-C. Do not create incompatible declarations of the same function or object
Page:
DCL41-C. Do not declare variables inside a switch statement before the first case label
Labels
Global Labels (3)
rule-list
dcl
section
Recent Changes
Time
Editor
Aug 06, 2025 17:49
David Svoboda
View Changes
May 20, 2025 10:04
David Svoboda
View Changes
May 20, 2025 09:47
David Svoboda
View Changes
May 06, 2025 10:57
David Svoboda
View Changes
May 06, 2025 10:25
David Svoboda
View Page History
Outgoing Links
External Links (5)
https://confluence/label/seccode/dcl
https://confluence/label/seccode/rule
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (1)
Home page:
SEI CERT C Coding Standard
Overview
Content Tools
{"serverDuration": 57, "requestCorrelationId": "0a192710bc4735b8"}