#include <stdio.h>
void solve() {
int x = printf("Hello");
printf(" %d", x);
}
int main() {
solve();
return 0;
}
Are you interested in learning C programming? Look no further! Welcome to the Coding channel, where you can enhance your coding skills and knowledge. My name is @Myhurthearts, and I am here to guide you through the world of C programming. Whether you are a beginner or an experienced coder, this channel is perfect for anyone looking to improve their programming skills. Join our community and learn all things related to coding with ease. From basic concepts to advanced topics, we cover it all. If you have any questions or need assistance, feel free to reach out to me. Let's embark on this coding journey together and master the art of C programming! ๐
13 Nov, 03:13
13 Nov, 03:13
13 Nov, 03:13
13 Nov, 03:13
11 Nov, 16:31
09 Nov, 03:32
07 Nov, 23:28
07 Nov, 10:08
06 Nov, 21:35
05 Nov, 16:03
04 Nov, 04:27
04 Nov, 04:21
29 Oct, 13:21
#include <stdio.h>
void concatenator(char *str, char *substr) {
while (*str)
str++;
while (*substr) {
*str = *substr;
substr++;
str++;
}
*str = '\0';
}
int main() {
char str[100], substr[100];
printf("Enter the source string : ");
gets(str);
printf("\nEnter string to concatenate : ");
gets(substr);
concatenator(str, substr);
printf("String after concatenation is \"%s\"\n", str);
return 0;
}
09 Oct, 08:04
09 Oct, 05:13
02 Oct, 12:08