I need to use the shell script variable in c++ program, how can i?

Viewed 21

shell script we have a variable

VERSION=19-03

I need to use this VERSION variable in c++ program.

getenv("VERSION")

Is it give correct out or not?

0 Answers
Related