Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 49bd1a4

Browse files
authored
Update Pointer Program List.md
1 parent 88ac25b commit 49bd1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tutorials/C++ Basic Tutorials/Simple Programs/POINTER/Pointer Program List.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
cin>>*q;
6767
cout<<"Enter second number\n";
6868
cin>>*r;
69-
*p=*q=*r;
69+
*p=*q+*r;
7070
cout<<"Add="<<*p;
7171
}
7272

0 commit comments

Comments
 (0)