100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Guía Completa: Introducción al Lenguaje C

Rating
-
Sold
-
Pages
2
Uploaded on
15-06-2025
Written in
2024/2025

Este documento ofrece una introducción detallada al lenguaje C, abordando su estructura, palabras reservadas, identificadores, tipos de datos, operadores y el uso de librerías esenciales.

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
June 15, 2025
Number of pages
2
Written in
2024/2025
Type
Class notes
Professor(s)
Matias bowen
Contains
All classes

Subjects

Content preview

Introducción al Lenguaje C

¿Qué es el lenguaje C?
Es un lenguaje estructurado, flexible y potente. Aunque no permite definir funciones dentro de otras como Pascal, es
ideal para desarrollar sistemas operativos y aplicaciones de alto rendimiento.


Estructura de un Programa
void main() {
printf("Hola mundo\n");
getch();
}


Palabras Reservadas
C posee 32 palabras clave como int, char, for, if, return, void, etc., utilizadas por el compilador para definir la sintaxis del
lenguaje.


Identificadores y Tipos de Datos
Los identificadores distinguen entre mayúsculas y minúsculas. Tipos comunes incluyen int, float, char, double y sus
modificadores: short, long, signed, unsigned.


Operadores y Constantes
C usa operadores aritméticos (+, -, *, /), lógicos (&&, ||), relacionales (==, !=), y de asignación (=). Constantes como '\n',
'\t' ayudan a representar caracteres especiales.


Uso de Librerías
#include <stdio.h>
#include <math.h>
#include <string.h>


Las librerías extienden las capacidades del lenguaje. stdio.h se usa para entrada/salida; math.h para funciones
matemáticas.


Entrada/Salida
int a;
printf("Ingresa un número: ");
scanf("%d", &a);
printf("Número ingresado: %d", a);


Comentarios
// Esto es un comentario de una línea
/* Esto es un
comentario multilínea */
$2.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
matiasbowen

Get to know the seller

Seller avatar
matiasbowen Escuela Europea de Dirección y Empresa
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
6 months
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions