Question: In ANSI C, the const qualifier can be applied to a variable declaration to indicate that its value will not be changed. Consider the following

 In ANSI C, the const qualifier can be applied to a

In ANSI C, the const qualifier can be applied to a variable declaration to indicate that its value will not be changed. Consider the following two function prototypes for error-handling routines: char *strerr(int errnum) return string describing error code void perror (const char s ) ; print a system error message In these two prototypes, perror()'s parameter has the const attribute, while strerr()'s does not. Why

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!