difference between my-strcpy and strcpy ?

Answers were Sorted based on User's Feedback



difference between my-strcpy and strcpy ?..

Answer / vinod

There is nothing as my-strcpy,ur-strcpy etc...
u need to look at man page before doing anything silly..

As a programmer u need to understand naming conventions
better...

Is This Answer Correct ?    8 Yes 3 No

difference between my-strcpy and strcpy ?..

Answer / ningappa

strcpy is a library function and my-strcpy is a user
defined function......The function definition of strcpy
will be called when string.h library is added,whereas the
definition of my-strcpy has to be included by the user....

Is This Answer Correct ?    7 Yes 3 No

difference between my-strcpy and strcpy ?..

Answer / shruti

yes there is nothing like my-strcpy..

i think u must have come accross some prog. in which a user
must have written a func. for string copy and named it as
my-strcpy...

strcppy is an in-built function for string copy.
the function body is present in string.h.

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More C Interview Questions

How do I round numbers?

0 Answers  


what is bit rate & baud rate? plz give wave forms

0 Answers  


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

0 Answers   MAHINDRA, Protech, Sivan Tech,


Explain the process of converting a Tree into a Binary Tree.

0 Answers   Ignou,


What is the purpose of clrscr () printf () and getch ()?

0 Answers  






Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

0 Answers  


Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.

0 Answers  


which of the function operator cannot be over loaded a) <= b)?: c)== d)*

10 Answers   Cisco, CTS, Google, HCL, HP,


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

0 Answers  


mplementation of stack using any programing language

1 Answers   Marlabs,


write a c program that prints all multiples of 3between 1 and 50.

5 Answers  


Write a program to generate the Fibinocci Series

0 Answers   TISL,


Categories