



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of c programming, focusing on functions and compilation. It includes explanations of the main function, global and local variables, and the use of libraries. Additionally, it covers the concept of function calls and the creation of a simple c program. Lastly, it explains the process of compiling and executing a c program using docsity.com resources.
Typology: Slides
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Memory map I/O Devices (Global Data pointer)
C Functions
#include <stdio.h> int Func1(int x); int Func2(int x); int Func3(int x); int Func4(int x); int main() { int A = 3; int B = 5; int C; C = A + B; C = Func1(C); C = C + 1; return 2; } int Func1(int x) { return Func2(x) + 1; } int Func2(int x) { return Func3(x) + 1; } int Func3(int x) { return Func4(x) + 1; } int Func4(int x) { return x + 1; }