Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C - printf precision modifiers
//gcc 5.4.0 #include <stdio.h> //see http://en.cppreference.com/w/cpp/io/c/fprintf int main(void) { char* str; str = "superdooperlongstring"; printf("give me no more than 6 chars from the really looong string: '%.6s'\n", str); str = "hi"; printf("give me no more than 6 chars from the short string: '%.6s'\n", str); return 0; }
run
|
edit
|
history
|
help
1
recursive
150114_ArrayOrdenado
WAP in C to delete an element from an array
SOLUCION EJERCICIO SPOTIFY
table of 123
e
muuchas funciones utiles
Lior Yehieli Lesson
Assignment 4 v3
C_141203_PALINDROMO