answersLogoWhite

0


Best Answer

You need to modify the argument type from char to const char:

void fun (const char * Petr) {/*...*/}

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In function definition void fun char Petr what needs to be modified to prevent the object pointed by Petr from being altered?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the definition for spike?

A sharp pointed tip


What is the definition for javeline throwing?

Throwing a pointed weapon.


What is the definition of a cape landform?

A pointed piece of land extending into an ocean or a lake.


What is the definition of arrrow?

An arrow is a pointed shaft with feathers for guidance, and shot from a bow.


What is the definition for the word asterisk?

A mark like a six-pointed star which looks like this: *


What is the definition of criticrism?

Criticism refers to very pointed and possibly derogatory reports on something.


What is the definition of 'ogive'?

In Architecture, a pointed or Gothic arch. In Statistics, a cumulative frequency graph.


What is the function of gimlet?

A gimlet is a small pointed tools for marking or making holes in soft material like leather.


What is The definition of piercing?

Piercing: to penetrate into or run through (something), as a sharp, pointed dagger, object, or instrument does. http://dictionary.reference.com/browse/piercing


What is a forks prong called?

The prong on a fork is called a tine (plural tines). By definition, a tine is: 1. prong: a thin pointed projection of a utensil or implement such as a fork or pitchfork2. antler's branch: a pointed branch of a deer's antler


How are male gametes adapted to their function?

the sperm is the male sex cell and it is adapeted by having a pointed head for speed, and a long tail to help it swim.


What direction does the earth spinrotate?

You're moving east - that's the definition (in fact) of "east". [And at dawn (when standing) your head is pointed in the direction that the earth is moving around the sun.]