write a c program for swapping two strings using pointer


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

0 Answers  


Why & is used in scanf in c?

0 Answers  


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


What is the explanation for cyclic nature of data types in c?

0 Answers  


How can you increase the allowable number of simultaneously open files?

0 Answers  






how to find string length wihtout using c function?

6 Answers  


which is conditional construct a) if statement b) switch statement c) while/for d) goto

0 Answers  


#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); }

3 Answers   ADITI,


What are void pointers in c?

0 Answers  


If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).

5 Answers   Microsoft, Motorola,


write a c program to convert fahrenheit to celsius?

4 Answers   TCS,


Which command is more efficient? *(ptr+1) or ptr[1]

3 Answers  


Categories