@snehal i think for first question both statement are correct.when you
declare const char * cpp then you can not change the value pointed by
this pointer(using this variable),however you can change where it was
pointing.

On Jan 11, 9:58 pm, snehal jain <learner....@gmail.com> wrote:
> 1. what is valid in cpp
> char *cp;
> const char* cpp;
> 1. cpp=cp 2. cp=cpp
>
> 2 there r 3 ppl A B C
> A can shoot the target 4 out of 5 times B can shoot 6 out of 7 times
> and C can shoot 8 out of  times. 2 people r selected at random. then
> wat is the probability of hitting the target?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to