Explain the code please in c language. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 1
func() function take char a[] , it is a pointer or not??
26th Jun 2019, 7:25 AM
Gaurav Rawat
Gaurav Rawat - avatar