About 50 results
Open links in new tab
  1. pointers - Arrow operator (->) usage in C - Stack Overflow

    Apr 4, 2010 · 347 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 …

  2. Difference between & and && in C? - Stack Overflow

    Initially C didn't have logical operators and the binary operators were used as a substitute. When the logical operators such as && and || were added to the C language, the precedence of binary …

  3. Why is %c used in C? - Stack Overflow

    Jun 8, 2012 · According to K&R C section 1.6, a char is a type of integer. So why do we need %c. And why can't we use %d for everything?

  4. What is the '-->' operator in C/C++? - Stack Overflow

    After reading Hidden Features and Dark Corners of C++/STL on comp.lang.c++.moderated, I was completely surprised that the following snippet compiled and worked in both Visual Studio 2008 and …

  5. What does the c underscore expression `c_` do exactly?

    Jun 5, 2012 · What does the c underscore expression `c_` do exactly? Asked 13 years, 8 months ago Modified 3 years, 2 months ago Viewed 116k times

  6. What is the difference between the * and the & operators in c ...

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

  7. C++ code file extension? What is the difference between .cc and .cpp

    Note the .C - case matters in GCC, .c is a C file whereas .C is a C++ file (if you let the compiler decide what it is compiling that is). GCC also supports other suffixes to indicate special handling, for …

  8. string - What does % [^\n] mean in C? - Stack Overflow

    Sep 11, 2016 · What does %[^\n] mean in C? I saw it in a program which uses scanf for taking multiple word input into a string variable. I don't understand though because I learned that scanf can't take …

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

    In modern C, or even moderately ancient C, += is a compound assignment operator, and =+ is parsed as two separate tokens. = and +. Punctuation tokens are allowed to be adjacent.

  10. Why does the arrow (->) operator in C exist? - Stack Overflow

    Why does -> even exist? In one of the very first versions of C language (which I will refer as CRM for "C Reference Manual", which came with 6th Edition Unix in May 1975), operator -> had very exclusive …