Advertisement
d3dx939dll

Aula46 - Strings

Jan 25th, 2021
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.49 KB | None | 0 0
  1. //biblioteca padrão
  2. #include <stdio.h>
  3.  
  4. //função principal
  5. int main(void){
  6.     //variavel caractere
  7.     char name[] = {'d','3','d','x','9','3','9','d','l','l'};
  8.    
  9.     //ta procurando o name? kkkkk
  10.     printf("Name:");
  11.     //meu laço
  12.     for(int i = 0;i < 10; ++i){
  13.         printf("%c", name[i]);
  14.     }
  15.     //pulando linha fodase kkk
  16.     printf("\n");  
  17.     return 0;
  18. }
  19.  
  20. //Sobre:
  21.  
  22. //Aula: Introdução Strings
  23. //Data: 26/01/2021
  24. //Grupo: /r/heikoa
  25.  
  26. //Referencia:
  27.  
  28. //Video: www.youtube.com/watch?v=YaoW-c6pGTg
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement