Skip to content

Latest commit

 

History

History

README.md

0x06. C - More pointers, arrays and strings

About

A follow-up project on pointers.

Requirements

  • Ubuntu 14.04
  • gcc 4.8.4
  • no standard library functions
  • allowed to use _putchar

File Descriptions

Mandatory

0-strcat.c - function that concatenates two strings.

1-strncat.c - function that concatenates two strings up to n bytes.

2-strncpy.c - function that copies a string.

3-strcmp.c - function that compares two strings, like strcmp.

4-rev_array.c - function that reverses the content of an array of integers.

5-string_toupper.c - function that changes all lowercase letters of a string to uppercase.

6-cap_string.c - function that capitalizes all words of a string.

7-leet.c - function that encodes a string into 1337.

8-rot13.c - function that encodes a string using rot13.

Advanced

100-print_number.c - function that prints an integer without: arrays, pointers, or hard-coded special values.

101-magic.c - Add one line to this [code](this code), so that the program prints a[2] = 98, followed by a new line.