pwncollege
DojosLeaderboardCommunity
Back to intro-to-programming-languages

Project 2.2 on Arrays and C-Strings

intro-to-programming-languages
0/9 challenges completed

[ ← Module List ]

Greetings Coders!
You are moving forward with your C knowledge! Prepare to journey even further into C. In this set of challenges you'll learn more about debugging, arrays, c-strings, and file input/output.
  • Using print statements to debug
  • Set breakpoints and investigate variables using the visual debugger
  • Identify the location of a segmentation fault using valgrind.
  • Define a local array using one of the primitive types
  • Declare arrays using a literal
  • Access elements of an array using []
  • Iterate through an array of values
  • Define a c-string of with a maximum size
  • Access the characters of a c-string using []
  • Loop through a c-string
  • Writing a string to standard output using printf or puts
  • Open a file for output
  • Write output to a text file with fprintf
  • Open a file for input
  • Gather input from a text file using fgets
  • Challenges

    1
    P2.2 Level 01 length
    2
    P2.2 Level 02 c-cat
    3
    P2.2 Level 03 c-copy
    4
    P2.2 Level 04 c-compare
    5
    P2.2 Level 05 c-up
    6
    P2.2 Level 06 c-bugs
    7
    P2.2 Level 07 c-debugger
    8
    P2.2 Level 08 c-debugger2
    9
    P2.2 Level 09 c-grind