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 |
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string
using for loop sum 2 number of any 4 digit number in c language
Explain what is the difference between far and near ?
Why can't I perform arithmetic on a void* pointer?
What does %c do in c?
What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?
which type of aspect you want from the student.
write a programme that inputs a number by user and gives its multiplication table.
Is c functional or procedural?
What is actual argument?
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 maximum number of concurrent threads that the InnoDB plug-in can create.