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 |
fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
c pgm count no of lines , blanks, tabs in a para(File concept)
how to execute a program using if else condition and the output should enter number and the number is odd only...
what is the little endian and big endian?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
what does keyword ‘extern’ mean in a function declaration?
What does the message "automatic aggregate intialization is an ansi feature" mean?
write a program to print data of 5 five students with structures?
HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
What is openmp in c?
which is faster execution: loops or recursion?
dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?