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 |
Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
What is table lookup in c?
define string ?
All technical questions
What is zero based addressing?
What is the OOPs concept?
Why can't we initialise member variable of a strucutre
Is Exception handling possible in c language?
How can I increase the allowable number of simultaneously open files?