+ 2

Explain the code please in c language.

Char * func(char a[]){ } Main(){ Char a[]="hello"; Func(a); } We pass a argument in func() function in the main function but In the func() function we make char array and not pointer why?

24th Jun 2019, 6:11 PM
Gaurav Rawat
Gaurav Rawat - avatar
3 Answers
+ 1
func() function take char a[] , it is a pointer or not??
26th Jun 2019, 7:25 AM
Gaurav Rawat
Gaurav Rawat - avatar