Difference between strdup and strcpy in c language?
Answer / kalai
strcpy - copy a string to a location YOU created (you create the location, make sure that the source string will have enough room there and afterwards use strcpy to copy)
strdup - copy a string to a location that will be created by the function. The function will allocate space, make sure that your string will fit there and copy the string. Will return a pointer to the created area.
Is This Answer Correct ? | 3 Yes | 0 No |
how to handle errors in fastload?
i have an interview in Qatar Petroleum. So please provide the all details abt safety management
how to send request to the direct server rather than proxy server
what is major differnet between hub and switch and also defferent between router and switch
what is networking
which topics are come from quizs
when there is a parametrized constructor, and an object is created with no arguments. will the default constructor be called?
Is there aptitute question will be asked in NIC exam ??? If yes how many questions will be asked??
What is saturation point?
Index of an Array containing 'n' aliment varies from________to_______
hi this is padhu i just want to know about remote sensing scientist in ISRO, will there a written test or not if there are any model test papers plz post it.
what is the maximum load for MDB, SMDB & DB