ASCI Logo
ASCI.Academy
LearnPracticeCompeteCareer
Sign InGet Started

Search ASCI Academy

Universal search across Courses, Lessons, Skills, Projects, Challenges, Competitions, Jobs, Internships, and Users

c

Curriculum Index

Current LevelInitiate
0/ 500 XP
Gravit Certificate:
100% Required
  • C Introduction & First Program
  • C Syntax & Statements
  • C Comments
•
1
2
3
4
5
6
7
8
9
10
Introduction to C•Lesson 2

C Syntax & Statements

A statement is an instruction that tells the computer to do something. In C, statements are written inside functions. Forgetting a semicolon at the end of a line is the most common beginner error!

> **Key Takeaway:** A C program is made of statements that execute one after another, ending with semicolons.
Python 3.11
•
Interactive Challenge
+50 XP
Challenge Objective

A C program is made of statements that execute one after another, ending with semicolons.

solution.py
UTF-84 SpacesAuto-saved
cpython3.11:~/workspace
CPython 3.11.8 (WASM)
$python3 -u solution.py
Click "Compile & Run" (or press Ctrl + Enter) to compile AST, verify bytecode, and execute the solution.