IT. Expert System.

C

strdup( )


function in C duplicates the given string. strdup( ) function is non standard function which may not available in standard library in C.

Syntax:
char *strdup(const char *string);



Example:

#include 
#include 
int main()
{
    char *p1 = "Technicia";
    char *p2;
    p2 = strdup(p1);

    printf("Duplicated string is : %s", p2);
    return 0;
}
Output:

Duplicated string is : Technicia


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 63 / 158730018. Delta: 0.00284 с