Question: How do I get rid of the format specifier error? I've tried to %s and %c. And how do I get my print message function

How do I get rid of the format specifier error? I've tried to %s and %c. And how do I get my print message function to work properly  How do I get rid of the format specifier error? I've
tried to %s and %c. And how do I get my print
message function to work properly -2.c:275:26: eror: 'firstname' undeclared (first use in
this function) scanfC"s", &firstname); 2.C:275:26: note: each undeclared identifier is reported only

-2.c:275:26: eror: 'firstname' undeclared (first use in this function) scanfC"s", &firstname); 2.C:275:26: note: each undeclared identifier is reported only once for each function it appea in 2.c201: error: passing argument 1 of 'printlessoge' mokes pointer from integer without a t -Werror] printMessage(firstName,MIA) H 2.c:in:6: note: expected char., but argument is of type char, void printHessageCchar name, char num 2.c:zaS:21: error: passing argument 1 of 'printHessage' makes pointer from integer without a st -Herror printHessage(firstName, BNA) H.2.c:in:6: note: expected char ., but argument is of type char, void printHessage(char name0, char num 2.c:290:2a: error: passing argument 1 of 'printMessage' makes pointer from integer wi thout a st [-Werrorl printHessageCfirstName, LAS); kl.c :181:6: note: expected chor ., but argument is of type 'dar' void printHessageCchar nameD, char num ccl: all warnings being treated as errors [malpq8ete-m610-login-node623

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!