Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
rinri
/
operating-systems-course
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
fix ex2
master
RinRi
hace 1 año
padre
c5663dc2ba
commit
c114cc41ec
Se han
modificado 2 ficheros
con
2 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
BIN
week02/ex2
+2
-0
week02/ex2.c
BIN
week02/ex2
Ver fichero
+ 2
- 0
week02/ex2.c
Ver fichero
@@ -12,7 +12,9 @@ int main() {
s[i] = '\0';
// i is already the size of s. I've used strlen to follow the 'hints'
// section.
putc('\"', stdout);
for (i = strlen(s) - 1; i >= 0; --i) {
putc(s[i], stdout);
}
putc('\"', stdout);
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar