Why cann't whole array can be passed to function as value.
Answer Posted / vignesh1988i
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 |
Post New Answer View All Answers
What is class and object in c?
Why is #define used?
What are the keywords in c?
Explain what are the different file extensions involved when programming in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is the difference between functions getch() and getche()?
What does %c mean in c?
Can we use visual studio for c?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
How can I find out how much free space is available on disk?
What is sorting in c plus plus?
What is sizeof int in c?
Is there a way to compare two structure variables?
What is spaghetti programming?
What is static memory allocation? Explain