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
Answers were Sorted based on User's Feedback
Answer / vimal
Nothing,because ultimately pointer to the first element of
array is send to the function,therefore using both method
changes made in called function will affect the calling
function. In one first you indirectly reference the pointer
and in other you directly reference the pointer.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
what is the differance between pass by reference and pass by value.
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
write the program for maximum of the following numbers? 122,198,290,71,143,325,98
what is the flow of execution in cprogram? ex:printf();,scanf();
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
How to print %d in output
What is "Duff's Device"?
What is Conio.h ?
yogesh patil in dell
write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL
what type of errors are checked during compilation