Why cann't whole array can be passed to function as value.
Answer Posted / vignesh1988i
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 |
Post New Answer View All Answers
Write a program to print fibonacci series using recursion?
What are the features of c languages?
Explain what is the difference between #include and #include 'file' ?
What is a constant?
Why clrscr is used in c?
What is c language in simple words?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Who developed c language?
What is the difference between typedef and #define?
Is this program statement valid? INT = 10.50;
Is c++ based on c?
Tell me about low level programming languages.
regarding pointers concept
Why cant I open a file by its explicit path?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?