tags:

views:

67

answers:

2

Hello,

gcc 4.4.3 c89

I start a new c programming job in the next 4 weeks. And I want to brush up on my pointer and arrays skills for some advanced techniques. My new job requires the use of this very much.

I have been browsing the Internet for some possible questions and answers for pointer and arrays exercises. But have not really found too much.

I just want to test myself with some exercises that contain answers.

Does anyone know of any books, Internet resources?

Many thanks for any suggestions

+3  A: 

Quiz on pointers: http://www.cprogramming.com/tutorial/c/quiz/quiz6.html

Quiz on arrays: http://www.cprogramming.com/tutorial/c/quiz/quiz8.html

This next one is longer and you get the answers when you hit "submit" at the bottom. http://www.sparknotes.com/cs/pointers/review/quiz.html

One more just in case: http://www.youngcoders.com/articles-tutorials-guides/14502-quiz-10-common-pointer-memory-allocation-pitfalls-c-c.html

Michael Patterson
I looked at the pointers quiz on cprogramming.com and the Spark Notes quiz. The former quiz is way too simple, IMO. The Spark Notes quiz is incorrect on several terminology questions (and the last "what is the value of i?" question's given answer is *wrong*).
strager
Additionally, in the Spark Notes quiz, the code in the question containing 0x1234 leads to undefined behavior, but the suggested answers don't reflect that. So don't try to learn from them.
Roland Illig
+1  A: 

Try to implement linked lists and some trees by yourself, that will be really helpful!!! Use the net when u have some troubles then... finally u will make it!!!

Jo. Luxos
Yes, I have a very good book on linked lists. It was that, that started me off on pointers and arrays. The book I am using and I would recommend is 'Data structures in C' By noel kalicharan.
robUK