Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to pass a string constant to a function

Status
Not open for further replies.

joeh100

Member
How to pass a string constant to a function?

EX:

void WriteStringConstant(rom char * StringConstant)
{

}

When I call the above function with WriteStringConstant("Test");
I get the following warning: Warning [2066] type qualifier mismatch in assignment.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top