concatenate two strings in c
C
#include <stdio.h>
#include <string.h>
int main()
{
char a[1000], b[1000];
printf("Enter the first string\n");
gets(a);
printf("Enter the second string\n");
gets(b);
strcat(a, b);
printf("String obtained on concatenation: %s\n", a);
return 0;
}
Also in C:
- Title
- coin row problem in linear time
- Category
- C
- Title
- bash: apt-add-repository: command not found
- Category
- C
- Title
- program using if statement in c whether numnber is less eqaul to greater than 50
- Category
- C
- Title
- c copy string
- Category
- C
- Title
- es par
- Category
- C
- Title
- functions return type in c
- Category
- C
- Title
- how to do matrix multiplication in c
- Category
- C
- Title
- c bit access union
- Category
- C
- Title
- full screen on c
- Category
- C
- Title
- prime number
- Category
- C
- Title
- vbnet create and write on file
- Category
- C
- Title
- how to store a user input with spaces in c
- Category
- C
- Title
- change plot line color in matplotlib
- Category
- C
- Title
- docker pull command
- Category
- C
- Title
- matplotlib plot circle marker
- Category
- C
- Title
- c matrix sintax
- Category
- C
- Title
- multiplicacion recursiva
- Category
- C
- Title
- jock cranley
- Category
- C
- Title
- c float to int
- Category
- C
- Title
- #include<stdlib.h>
- Category
- C
- Title
- print integer to stdout using write or putchar?
- Category
- C
- Title
- linux directory commands
- Category
- C
- Title
- hostbuilder add environment variables
- Category
- C
- Title
- qtableview get selected row
- Category
- C
- Title
- how to represent unsigned char with % c
- Category
- C
- Title
- /usr/bin/mandb: fopen /var/cache/man/7935: Permission denied
- Category
- C
- Title
- python web crawler
- Category
- C
- Title
- c bit access struct
- Category
- C
- Title
- azure storage emulator config
- Category
- C
- Title
- ModuleNotFoundError: No module named 'cv2'
- Category
- C
- Title
- a enum data type in c with loop
- Category
- C
- Title
- arduino millis()
- Category
- C
- Title
- how to free memory in c
- Category
- C
- Title
- use of matplotlib inline
- Category
- C
- Title
- sustituir un dígito por otro
- Category
- C
- Title
- for loop c
- Category
- C
- Title
- compare two chars c
- Category
- C
- Title
- mediawiki upload size
- Category
- C
- Title
- \0 in c
- Category
- C
- Title
- c program to perform transpose of a matrix
- Category
- C
- Title
- what is x:Name Xamarin forms
- Category
- C
- Title
- generate all permutations of string
- Category
- C
- Title
- double return type in c
- Category
- C
- Title
- 'int' is not a subtype of type 'double' dart
- Category
- C
- Title
- command line coursera
- Category
- C
- Title
- css selector for sibling element
- Category
- C
- Title
- error 403
- Category
- C
- Title
- multiplication operator in c
- Category
- C
- Title
- c get first n characters of string
- Category
- C
- Title
- root in C
- Category
- C
- Title
- c pause for 1 second
- Category
- C
- Title
- what is size_t in c
- Category
- C
- Title
- char to int c
- Category
- C
- Title
- c print array
- Category
- C
- Title
- potencia recursiva
- Category
- C
- Title
- how to call the tkinter insert command from another class
- Category
- C
- Title
- diferencia entre * y & en c
- Category
- C
- Title
- PS1 modified lags
- Category
- C
- Title
- iterate through map
- Category
- C
- Title
- c check if char is an operator
- Category
- C
- Title
- concatenate two strings in c
- Category
- C
- Title
- windeployqt example
- Category
- C
- Title
- text wrap terminal colour
- Category
- C
- Title
- vue cdn
- Category
- C
- Title
- pasar a binario recursivo
- Category
- C
- Title
- limit of integer in c
- Category
- C
- Title
- vbl share price
- Category
- C
- Title
- java.lang.SecurityException: Permission denied (missing INTERNET permission?)
- Category
- C
- Title
- what is the meaningof noremap
- Category
- C
- Title
- how to ascii art in c
- Category
- C
- Title
- c check if file was created
- Category
- C
- Title
- xmlns='' was not expected
- Category
- C
- Title
- div
- Category
- C
- Title
- 233 pounds to inr
- Category
- C
- Title
- how to print a file c
- Category
- C
- Title
- printf n characters c
- Category
- C
- Title
- mostrar lista recursiva
- Category
- C
- Title
- bubble sort time complexity
- Category
- C
- Title
- write array of char to file in c
- Category
- C
- Title
- tmux how to kill all sessions
- Category
- C
- Title
- casting in c
- Category
- C
- Title
- get regedit value cmd
- Category
- C
- Title
- FILE*
- Category
- C
- Title
- restapi
- Category
- C
- Title
- arduino define
- Category
- C
- Title
- pop and push shows black screen which needs to be pressed back flutter
- Category
- C
- Title
- arduino digital input pins
- Category
- C
- Title
- random en c
- Category
- C
- Title
- es palindromo
- Category
- C
- Title
- docker images command
- Category
- C
- Title
- wait function in c
- Category
- C
- Title
- change a attribute in dataframe
- Category
- C
- Title
- mitch mcconnell
- Category
- C
- Title
- objective c swizzle method
- Category
- C
- Title
- how to use ? in c
- Category
- C
- Title
- keras conv2d batchnorm
- Category
- C
- Title
- 1 212 32123 4321234 543212345 in c
- Category
- C
- Title
- how to do Employing defensive code in the UI to ensure that the current frame is the most top level window
- Category
- C
- Title
- how to put a char into a string c
- Category
- C
- Title
- c bitwise operators
- Category
- C