Skip to content

Commit 6b6af5a

Browse files
committed
Create problem40
1 parent e4e54f8 commit 6b6af5a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

problem40

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Solved by
2+
V.VIDHYA
3+
111712205106 IT-B
4+
5+
which is valid in cpp?
6+
char *cp;
7+
const char*cpp;
8+
1.cp=cpp;
9+
2.cpp=cp;
10+
11+
12+
13+
Answer:
14+
2 is valid.
15+
since the conversion from a constant pointer to a normal pointer is invalid
16+
(cp=cpp is invalid)

0 commit comments

Comments
 (0)