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.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心