recategorized by
479 views
1 votes
1 votes

recategorized by

1 Answer

2 votes
2 votes

You forget to write const keyword before char *p.

Related questions


Deprecated: Implicit conversion from float-string "1680695287.794" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1680695287.794" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1680695287.794" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1680695287.794" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1524314293.242" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1524314293.242" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1524314293.242" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1524314293.242" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1665417427.358" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1665417427.358" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1665417427.358" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1665417427.358" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
393
views
1 answers
1 votes
Akash Kumar Roy asked Apr 21, 2018
393 views
"If a string constant is given then through by a pointer we can access the characters but we can't change any of the characters"Can someone please expain this?