Isaac Cruz
/
Practica_5_-_Ejercicio_07
p5e7
main.cpp
- Committer:
- rgsbuap
- Date:
- 2019-10-08
- Revision:
- 27:eb32f100130f
- Parent:
- 26:29f649949409
- Child:
- 28:868b283c5f77
File content as of revision 27:eb32f100130f:
#include "mbed.h" Serial pc(USBTX,USBRX); //Funcion sin argumento y con retorno int funcion3(void); int main() { int variable; variable = funcion3(); pc.printf("La variable retornada es %d \r\n", variable); } int funcion3(void) { int variable_de_funcion3 = 10; return variable_de_funcion3; }