# 1D Arrays

### Problems and Solutions 2

Problem : You are given a character array word of size n. Write C code that will reverse the order of the characters in this array.

Problem : Write a function that takes in an array of type card_t and length n and shuffles it. Assume that you have a function called RandomInteger(x, y) which returns an integer greater than or equal to x and less than y.

Problem : Write a function that is passed an array of integers sorted in ascending order and returns with all of the duplicate entries removed.

## Take a Study Break

### Star Trek gets SEXY

Chris Pine and Zoe Saldana heat up the red carpet!

### Are you afraid of relationships?

Auntie SparkNotes can help!

### Wanna get JLaw's gorgeous glow?

Click here for simple, sexy makeup tricks!

### Sexy starlet style

See every single look from the Met Gala!

### Who'd be on your zombie-apocalypse crew?

We already dib'sed Genghis Khan.

### Geeky Actors: Then and Now

Travel back in time!

### Villains We Want These Actresses to Play

From super cute to super bad!

### 10 Movies Better Than Their Books

What do you think?

### How To Look Like J-Law...

When you don't look like J-Law.

### 12 Scientific Inaccuracies in Into Darkness

What did Star Trek get wrong?

## The Book

### Read What You Love, Anywhere You Like

Get Our FREE NOOK Reading Apps