because decay of array?
                  
                  
                  how can calculate size of array when pass it to function?
                  
                  
                
this reinterprets a as a pointer
you put sizeof a pointer
you should make a while incrementing a counter until you reach '\0'
Обсуждают сегодня