Timeline for Reference vs dereference pointers in arguments C++/C
Current License: CC BY-SA 3.0
        18 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Feb 15, 2021 at 14:37 | history | suggested | Moia | 
        
            
             
                
                    removed unnecessary tag 
                
             
        
     | 
|
| Feb 15, 2021 at 9:00 | history | tweeted | twitter.com/StackSoftEng/status/1361238837675057154 | ||
| Feb 15, 2021 at 7:50 | review | Suggested edits | |||
| S Feb 15, 2021 at 14:37 | |||||
| Feb 15, 2021 at 4:09 | comment | added | AjayGohil | geeksforgeeks.org/… and www3.ntu.edu.sg/home/ehchua/programming/cpp/… : May this helps you | |
| Feb 15, 2021 at 3:24 | answer | added | Cole | timeline score: 0 | |
| Oct 24, 2013 at 20:37 | comment | added | user53141 | 
        
            
    int& just offers a measure of safety over int*, and improves readability slightly by making the intent more obviously.  There's nothing you can do with int& that you can't do with int*.  That's how C gets away with not having it.
        
     | 
|
| Oct 24, 2013 at 16:20 | comment | added | user209347 | Common platform for computer, so x86 intel instruct sets. But I think the basic instructions on many intel x64 and x86 can be comparable. | |
| Oct 24, 2013 at 14:00 | answer | added | Michaël Le Barbier | timeline score: 4 | |
| Oct 24, 2013 at 13:21 | comment | added | Useless | You asked for pertinence to the actual hardware, but don't mention what actual hardware you're interested in. Any specific platform? | |
| Oct 24, 2013 at 13:15 | comment | added | bstamour | int& has nothing to do with pointers. int& is a reference to an int, and C does not have reference types. | |
| Oct 24, 2013 at 12:53 | answer | added | Emilio Garavaglia | timeline score: 1 | |
| Oct 22, 2013 at 19:57 | comment | added | user209347 | Is there seriously no int& in C? How is that possible, & and * are very closely linked to each other. Although, this statement does explain my observation why so many codes (cpp and c) use * over & in arguments. Frankly, Ive only seen & a couple of times. | |
| Oct 20, 2013 at 12:56 | comment | added | mouviciel | 
        
            
    int& doesn't exist in C.
        
     | 
|
| Oct 20, 2013 at 9:41 | answer | added | s5s | timeline score: -1 | |
| Oct 20, 2013 at 9:28 | answer | added | Doc Brown | timeline score: 10 | |
| Oct 20, 2013 at 9:23 | answer | added | Mat | timeline score: 18 | |
| Oct 20, 2013 at 9:15 | history | edited | Bart van Ingen Schenau | CC BY-SA 3.0 | 
        
            
             
                
                    corrected code formatting 
                
             
        
     | 
| Oct 20, 2013 at 9:07 | history | asked | user209347 | CC BY-SA 3.0 |