Results 1 to 2 of 2

Thread: String handling function in C

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    74

    String handling function in C

    I was practicing string handling functions in C and I happen to come across a string handling function called as strset in C. But I could not get many details about this function. What is the usage and syntax of this function?


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    76

    Re: String handling function in C

    strset is used to set Bytes in String. The function strset sets all bytes of string, except the ending null character (\0).
    The syntax of this function is
    char *strset(char *string, int c);
    Here the string must be first initialized and all the bytes of string, except the ending null character (\0) is set to c


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact