Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <cstring>
- #include <cctype>
- using namespace std;
- struct list{
- string name;
- string type;
- list *node;
- };
- void dispaly(string& name){
- name[0]='L';
- }
- int main() {
- string name="Apel";
- dispaly(name);
- cout<<name<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement