Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
~12.3K People Reached
About Me

I Proud to be a Muslim and Pakistani.

Favorite Forums
Favorite Tags
c x 8
c++ x 1

11 Posted Topics

Member Avatar for TalhaMoazSarwar
Member Avatar for jasonkaven
0
109
Member Avatar for Akhila_1
Member Avatar for vegaseat
0
154
Member Avatar for lewashby

#include <stdio.h> #include <ctype.h> main() { char msg[] = "Hello World!"; char* pmsg = msg; int i = 0; while (*(pmsg + i) != '\0') { if (isupper(*(pmsg + i))) { *(pmsg + i) = tolower(*(pmsg + i)); } else if (islower(*(pmsg + i))) { *(pmsg + i) = toupper(*(pmsg …

Member Avatar for TalhaMoazSarwar
0
212
Member Avatar for sdtechi

#include <stdio.h> #define MAX 500 main() { float a, per, sum = 0; int i; char *pos[] = {"1st", "2nd", "3rd", "4th", "5th"}; for (i = 0; i < 5; i++) { printf("Enter marks of %s subject: ", pos[i]); scanf("%f", &a); sum += a; } per = (sum/MAX)*100; printf("Your average …

Member Avatar for TalhaMoazSarwar
1
233
Member Avatar for nacedo

#include <stdio.h> #include <string.h> main() { char str[50]; gets(str); int i = 0; int res[50]; while (str[i] != '\0') { res[i] = str[i]; printf("%d ", str[i]); i++; } putchar('\n'); getchar(); return 0; }

Member Avatar for TalhaMoazSarwar
0
205
Member Avatar for greg.lafrance.96

#include <stdio.h> #include <string.h> char *reverseme(char *str) { int len = strlen(str); char temp; int i; len--; for (i = 0; i < len/2; i++) { temp = str[i]; str[i] = str[len-i]; str[len-i] = temp; } return; } main() { char line[100]; printf("Enter a line: "); gets(line); reverseme(line); puts(line); getchar(); …

Member Avatar for TalhaMoazSarwar
0
435
Member Avatar for Ctwo
Member Avatar for negru

#include <stdio.h> #include <string.h> main() { char str[100]; int i, len, f = 0; printf("Enter a string: "); gets(str); len = strlen(str); printf("The indices are: "); Again: // Loop while character not found in start // if (str[f] != ' ') { printf("%c = %d", str[f], f); } else { …

Member Avatar for TalhaMoazSarwar
0
184
Member Avatar for behemothdave

[** Best Way To Create Guess Game In C# **](http://talha-programming.blogspot.com/2014/06/guess-game-version-10-c_27.html) Love DaniWeb!

Member Avatar for TalhaMoazSarwar
0
2K
Member Avatar for makan007

**Please Do not take tension, the very easy solution is on this page** [Array Element Count - C++ - Talha Programming](http://talha-programming.blogspot.com/2014/06/array-counter-c.html)

Member Avatar for TalhaMoazSarwar
0
887
Member Avatar for super.mina

**Best way to count the array element is on this page !** [Array Element Counter - Talha Programming](http://talha-programming.blogspot.com/2014/06/array-counter-c.html)

Member Avatar for tux4life
0
8K

The End.