About 50 results
Open links in new tab
  1. The Definitive C Book Guide and List - Stack Overflow

    The C Programming Language (2nd Edition) - Brian W. Kernighan and Dennis M. Ritchie (1988). It is still a good, short, but complete, introduction to C (C89, not C99 or later versions), written by the …

  2. c - What does tilde (~) operator do? - Stack Overflow

    I recently saw the above operator in a code,I googled for it but found nothing.The code is below.Please describe what actually does this operator do? #include<stdio.h> int main() { unsig...

  3. pointers - Arrow operator (->) usage in C - Stack Overflow

    Apr 4, 2010 · 348 I am reading a book called "Teach Yourself C in 21 Days" (I have already learned Java and C# so I am moving at a much faster pace). I was reading the chapter on pointers and the …

  4. What is the difference between += and =+ C assignment operators

    Where modern C uses +=, early C used =+. Early C had no unary + operator, but it did have a unary - operator, and the use of =- caused problems; programmers would write x=-y intending it to mean x = …

  5. coding style - Using true and false in C - Stack Overflow

    This could happen in an embedded programming environment when you move to a new architecture with a C compiler based on an older version of the spec. In summation, I would stick with the macros …

  6. Using Pointers In Loops - C Programming - Stack Overflow

    Feb 12, 2025 · I am currently learning about pointers in C programming as part of my training. I am particularly curious about using pointers directly within "for" loops. For example, in the following &...

  7. and the & operators in c programming? - Stack Overflow

    Aug 10, 2016 · What is the difference between the * and the & operators in c programming? Asked 15 years, 9 months ago Modified 9 years, 5 months ago Viewed 52k times

  8. How to initialize a struct in accordance with C programming language ...

    How to initialize a struct in accordance with C programming language standards Asked 17 years, 2 months ago Modified 5 months ago Viewed 1.4m times

  9. What is the difference between '\\0' and '\\n' in the C programming ...

    Oct 13, 2014 · 4 '\0' is a NULL character, which indicates the end of a string in C. (printf("%s") will stop printing at the first occurence of \0 in the string. '\n' is a newline, which will simply make the text …

  10. Error handling in C code - Stack Overflow

    Dec 22, 2008 · Here I am using an array of C strings (), which only works well if your first enum-based error code has value 0, and you don't manipulate the numbers thereafter.