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 |
Define C in your own Language.
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Binary tree traversing
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }
where do we use volatile keyword?
How #define works?
write a programme that inputs a number by user and gives its multiplication table.
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
Why is c called a mid-level programming language?
what is the difference between i++ and ++i?
main() { int i; printf("%d",i^i); }