Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #36.9K
Ranked #3K
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for John_165

What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } }

Member Avatar for John_165
0
1K
Member Avatar for COKEDUDE

Can someone please tell me what is wrong with strcmp? I don't understand why I am getting a segmentation fault when comparing array of strings and string. char *strings[100]; char nam[100]; int g = 0; while (fscanf(pFile, "%s %d", nam, &val) !=EOF) { strings[k] = nam; printf(" string is %s …

Member Avatar for Rolf_2
0
265
Member Avatar for parth2911

** # i am tring to merge two array but every time its display first array proparly but in second array its only display last element....thx....# ** #include<stdio.h> #include<conio.h> void main() { int a[10],b[10],i,j,c,d,e; clrscr(); printf("how many number in first array="); scanf("%d",&c); printf("how many number in second array="); scanf("%d",&d); printf("\nenter …

Member Avatar for parth2911
0
250