Thread: quotation marks

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    88

    quotation marks

    will a quotation mark return a true or a false for the function isalpha?
    in other words, is a quotation mark " treated as an alpha character?

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Why don't you just try it in a simple 3 line program?
    If you understand what you're doing, you're not learning anything.

  3. #3
    Hello,

    It will return 0. The double-quotation character is not within the alphabet. Rather, it will return non-zero if sent to isprint() since that character is printable.

    References

    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    88
    thanks guys

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Searching a text file for double quotation marks "
    By willie in forum C Programming
    Replies: 4
    Last Post: 11-23-2008, 02:00 PM
  2. Replies: 12
    Last Post: 05-05-2008, 10:43 AM
  3. Quotations marks and strstr
    By Tommo in forum C Programming
    Replies: 12
    Last Post: 10-05-2007, 01:33 PM
  4. Drawing a triangle with hatch marks?
    By Bajanine in forum Windows Programming
    Replies: 4
    Last Post: 05-19-2003, 05:42 AM
  5. quotation marks
    By bart in forum C++ Programming
    Replies: 1
    Last Post: 09-02-2001, 01:15 PM