Why cann't whole array can be passed to function as value.
ya it's possible ..... we can pass whole array as an value....
let's take the code :
void function(char [] );
void main()
{
char ch[30];
function(ch);
getch();
}
void function(char ch[])
{
printf("%s",ch);
}
thank u
hope this will work.....
| Is This Answer Correct ? | 0 Yes | 4 No |
What is the difference between fread and fwrite function?
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
What does struct node * mean?
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
What is Function Pointer? Explain with example?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
How can you check to see whether a symbol is defined?
What is union in c?
How to set file pointer to beginning c?
how to find out the inorder successor of a node in a tree??
Is array a primitive data type in c?