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 are integer variable, floating-point variable and character variable?
Two's compliment of -5
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Give the Output : * * * * * * * * * *
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is the difference between realloc() and free()
Why preprocessor should come before source code?
when to use : in c program?
Differentiate between null and void pointers.
suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan
Famous puzzles which are generally asked by companies during interviews ?
please give me some tips for the selection in TCS.