String concatenation

Answers were Sorted based on User's Feedback



String concatenation ..

Answer / shrikantauti

it appends two strings. for this strcat() is used.

Is This Answer Correct ?    3 Yes 0 No

String concatenation ..

Answer / shrikantauti

strcat()
it appends two strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }

1 Answers  


What is the difference between mpi and openmp?

0 Answers  


is forign key will be unique key any table or not?

2 Answers  


What are the Advantages of using macro

0 Answers  


What is bss in c?

0 Answers  






what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 Answers   IBM,


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


Explain the advantages of using macro in c language?

0 Answers  


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


What are the modifiers available in c programming language?

0 Answers  


What is character set?

0 Answers  


how to print a statement in c without use of console statement ,with the help of if statement it should print

2 Answers   Satyam,


Categories