Create a C Program using DevC++ to Demonstrate Scope

提供方
Coursera Project Network
在此指导项目中,您将:

Declare a global variable and constant of type double and access it within a block.

Construct a named block within a function and access its variables.

Create a struct in File and External scope with member variables to house a collection of data.

Clock2 hours
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

By the end of this project you will implement a program using C that demonstrates the notion of scope and its effect on variables. The C programming language is the basis for many other programming languages. Its syntax has been used in languages such as C++, Java, and C# to name a few. All of these languages utilize scope to control access to variables, so it is an important concept to grasp. C is still the language of choice for writing Operating systems, games, and many other applications where performance is critical. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

  • C Standard Library
  • C named blocks
  • C Scope
  • C Structs
  • C Programming

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Create a C program that utilizes a local variable.

  2. Declare a global variable and constant of type double and access it within a block.

  3. Construct a named block within a function and access its variables.

  4. Create a struct in File and External scope with member variables to house a collection of data.

  5. Create a static local variable to count function calls.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心