Pointers in C Programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pointers in C Programming

I'm on the first exercise on pointers in the C programming course. I typed the code into gedit on linux. It replied Warning: format %x expects argument type of 'unassigned int', but argument 2 has type 'int *' [-Wformat=]. I found an article explaining the different between short int and int, but I don't understand the difference between 'unassigned int' and 'int * (assuming * could mean wildcard). Please clarify.

11th Nov 2018, 2:37 AM
Alan Lilly
2 Answers
+ 4
Will be grateful if you would kindly take this thread down or at least edit the Question to add [SOLVED] prefix. e.g. [SOLVED] Pointers in C programming.
11th Nov 2018, 6:06 AM
Ipang
+ 1
The second exercise answers the int * question. Please ignore my question.
11th Nov 2018, 2:41 AM
Alan Lilly