what is the difference between : func (int list[], ...) or
func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer

Answer Posted / guest

in func(int list[]: it gives only the address of the value
which was stored in the list.
func (int *list , ....):it gives the value which is stored
in the list

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different properties of variable number of arguments?

657


What is volatile c?

515


Is it possible to execute code even after the program exits the main() function?

804


Write a program on swapping (100, 50)

634


Explain what is the difference between far and near ?

643






What are c preprocessors?

670


explain what are actual arguments?

630


What are the back slash character constants or escape sequence charactersavailable in c?

678


Why shouldn’t I start variable names with underscores?

621


What's the total generic pointer type?

608


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

897


What is a node in c?

543


What is the use of ?

617


How can I invoke another program or command and trap its output?

608


hi, which software companys will take,if d candidate's % is jst 55%?

1656