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 c?
Add 2 64 bit numbers on a 32 bit machine
3 Answers EMC, Hyderabad Central University, NetApp,
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
What is the heap?
What does the message "automatic aggregate intialization is an ansi feature" mean?
what is the difference between i++ and ++i?
why TCS selected more student in the software field from all institution.
A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A
List the difference between a While & Do While loops?
How to add two numbers with using function?
What is structure pointer in c?