TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

C Tutorials

C Programming Statements

Overview

A C program is a sequence of instructions called programming statements.
A programming statement performs a piece of programming action or unit of execution.

Programming Statements

There are several types of programming statements in the C language.

  • Declaration Statement
  • Expression Statement
  • Selection Statement
  • Iteration Statement
  • Jump Statement
  • Compound / Block statement

In C language semicolon(;) acts as a statement terminator. Every programming statement must be terminated by it. The exception for this is the preprocessor directives which start with #.

Blocks

We can group multiple programming statements as a block by enclosing them with curly braces { }. This group of statements is treated as one single unit.

C Functions

Functions are named units of a group of statements when executed to perform a specific task.

—

C Tutorials

C Tutorials on this website can be found at:

https://www.testingdocs.com/c-language-tutorial/

Related Posts

C Language Characteristics

C Tutorials /

C Language Characteristics

C Source Code .c File

C Tutorials /

C Program Files & Formats

GNU Compiler Collection GCC

C Tutorials /

C Compilers

C Pointers

C Tutorials /

C Pointers

C Tutorials /

C Two-Dimensional Arrays

‹ C Programming Cycle› C Logical Operators

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version