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 |
please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch
What are linked lists in c?
Program to find largest of three numbers without using comparsion operator?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?
how can u print a message without using any library function in c
Find occurence of a character in a sting.
how can i calculate mean,median,mode by using c program
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.
15 Answers Cisco, Google, MBT,
write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?
why we are using float in C
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......