diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,10 @@ #include <stdio.h> +#include <string.h> int main(){ -float a; -a=6; -if(a>2){ -a=a+0.5; +char hello[11]; +strcpy(hello,"hello"); +if(5==5){ +strcpy(hello,"goodbye "); } -printf("%f",a); +printf("%s%d%s",hello,6," test"); } |