About 742,000 results
Open links in new tab
  1. How to do scanf for single char in C - Stack Overflow

    Nov 24, 2012 · The %c conversion specifier won't automatically skip any leading whitespace, so if there's a stray newline in the input stream (from a previous entry, for example) the scanf call …

  2. What is char ** in C? - Stack Overflow

    Nov 13, 2012 · Technically, the char* is not an array, but a pointer to a char. Similarly, char** is a pointer to a char*. Making it a pointer to a pointer to a char. C and C++ both define arrays …

  3. Difference between char* and char** (in C) - Stack Overflow

    15 char **x is a pointer to a pointer, which is useful when you want to modify an existing pointer outside of its scope (say, within a function call). This is important because C is pass by copy, …

  4. Difference between char [] and strings in C - Stack Overflow

    Oct 2, 2020 · The C programming language distinguishes character constants from string constants by using quotation marks in the following manner: 'c' is the character c, while "c" is a …

  5. char - What is the symbol for whitespace in C? - Stack Overflow

    May 4, 2015 · I am trying to figure out how to check if a character is equal to white-space in C. I know that tabs are '\\t' and newlines are '\\n', but I want to be able to check for just a regular …

  6. Char Comparison in C - Stack Overflow

    Mar 29, 2014 · I'm trying to compare two chars to see if one is greater than the other. To see if they were equal, I used strcmp. Is there anything similar to strcmp that I can use?

  7. c - Difference between signed / unsigned char - Stack Overflow

    But characters in C are represented by their integer "codes", so there's nothing unusual in the fact that an integer type char is used to serve that purpose. The only general difference between …

  8. What is the difference between char array and char pointer in C?

    Sep 13, 2019 · 286 char* and char[] are different types, but it's not immediately apparent in all cases. This is because arrays decay into pointers, meaning that if an expression of type char[] …

  9. How to make return char function in c programming?

    Sep 3, 2018 · How to make return char function in c programming? [duplicate] Asked 7 years, 3 months ago Modified 7 years, 3 months ago Viewed 33k times

  10. what does char** mean in a c program, can someone please give a …

    Jul 25, 2016 · Here is why you need it in a program that sorts strings: Recall that C represents strings as arrays of characters. Each C string is typically represented as a pointer to character, …