Create a C Program using DevC++ to Demonstrate Scope

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

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
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

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.

Habilidades que desarrollarás

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

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  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.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.