difference between my-strcpy and strcpy ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the use of printf() and scanf() functions?
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
What is the use of header?
What is the purpose of type declarations?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
1 Answers 91mobiles, Amazon, App Guruz, College School Exams Tests, Folio3, Infosys, Omega, Planin, Riphah International University, Subex,
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
How to swap 3 numbers without using 4th variable?
Why doesn't C support function overloading?
Why static variable is used in c?
What is difference between far and near pointers?
Explain pointer. What are function pointers in C?