I have to write two functions for a structure:
#1 function which will return a reference to a Part structure and receive a reference to a Part structure. It will change the Description to EEPROM; the Cost will be 1.95; the ID will be 123456; Type will be E.
#2 function making the same data changes as above, but have the function receive a pointer and return nothing, using pointer notation throughout the function.
When I try to change the Description to equal EEPROM in the functions I get an error. If someone can help me I would appreciate it.
You should not quote more than one char with single quotes ('). Use double quotes (").
It is important to understant, that Description is not of type char. It is char[], so the literal notation is a bit different.