Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~581 People Reached
Favorite Forums
Favorite Tags
Member Avatar for nee_88

Hi, I have a doubt. Suppose we define a pointer or an array of pointers, and pass it to a function, as in like :- char *p; func(p); /*or this way*/ char *p[10]; /*and then pass this array somewhere to a fucntion*/ func(p); Here, in the call to the function, …

Member Avatar for deceptikon
0
116
Member Avatar for nee_88

` Below Code not working :- #include<stdio.h> void main() { char *s; gets(s); printf("%c",s); }

Member Avatar for Sokurenko
0
119
Member Avatar for nee_88

why is the output of the below program is coming out as 'unequal' ??can anyone please explain?? #include<stdio.h> void func(char *); void main() { char *q; char *p; p="hello hii"; func(q); if(p==q) printf("equal"); else printf("unequal"); } void func(char *pi) { pi="hello hii"; }

Member Avatar for rubberman
0
101
Member Avatar for nee_88

Please refer to the code below.It is used to extract files from a given directory, for further processing. #include <dirent.h> #include <stdio.h> #include <string.h> int main(void) { int i=0; struct dirent *direntry; dir = opendir("E:/muzikk"); if(!dir) { printf("Error: directory did not open!\n"); return 1; } while((direntry=readdir(dir))!=NULL) { printf("%d %s\n",i,direntry->d_name); i++; …

Member Avatar for nee_88
0
245