Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1.  
  2. /**
  3. * @file UE7_Aufgabe1.c
  4. * @brief File contains the main program
  5. * @author Emil Wojciechowicz
  6. * @date 24.11.2014
  7. */
  8.  
  9.  
  10.  
  11. #include <stdlib.h>
  12. #include <conio.h>
  13. #include <stdio.h>
  14.  
  15.  
  16. /**
  17. * @fn int main(void)
  18. * @brief prints arrays with the content in it
  19. * @param void
  20. * @return int EXIT_SUCCESS
  21. * @author Emil Wojciechowicz
  22. * @date 24.11.2014
  23. */
  24.  
  25. int main(){
  26.  
  27. // Variablendeklaration
  28. char acFirstName[20];
  29.  
  30. // Felder von 0 - 3
  31. acFirstName[0] = 'E';
  32. acFirstName[1] = 'M';
  33. acFirstName[2] = 'I';
  34. acFirstName[3] = 'L';
  35.  
  36. // Ausgabe
  37. printf("%s", acFirstName);
  38. _getch();
  39. return EXIT_SUCCESS;
  40.  
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement