I am very new to C programming. All I want to do is define a string variable and pass text to it. I have tried many things. I thought one of the following would work but am having no luck. Thank you for looking and for your help. My code is below.
Code:char str[20]; str = "Canada Dollars";Code:char str[20]; str == "Canada Dollars";