About 50 results
Open links in new tab
  1. How to keep one variable constant with other one changing with row …

    207 Lets say I have one cell A1, which I want to keep constant in a calculation. For example, I want to calculate a value like this: =(B1+4)/(A1) How do I make it so that if I drag that cell to make a …

  2. Why can I change a constant object in JavaScript?

    A constant array only means that the value of the pointer will not change - but in fact the data contained at that address is free to. In javascript, you are allowed to call methods of constant objects (of course …

  3. How do I create a constant in Python? - Stack Overflow

    Apr 21, 2010 · How do I declare a constant in Python? In Java, we do: public static final String CONST_NAME = "Name";

  4. c - Constant pointer vs Pointer to constant - Stack Overflow

    Jan 31, 2014 · A constant pointer is a pointer that cannot change the address its holding. In other words, we can say that once a constant pointer points to a variable then it cannot point to any other variable.

  5. algorithm - What is Constant Amortized Time? - Stack Overflow

    Oct 14, 2008 · What is meant by "Constant Amortized Time" when talking about time complexity of an algorithm?

  6. c - Error "initializer element is not constant" when trying to ...

    Moreover, in C language, the term "constant" refers to literal constants (like 1, 'a', 0xFF and so on), enum members, and results of such operators as sizeof. Const-qualified objects (of any type) are not …

  7. How do you declare a global constant in Python?

    Jun 10, 2014 · My program contains multiple files and classes, and I would like to be able to access this variable from anywhere, and if possible define it as constant. How do you define a global constant in …

  8. How to declare a constant in Java? - Stack Overflow

    Oct 9, 2012 · You can use an enum type in Java 5 and onwards for the purpose you have described. It is type safe. A is an instance variable. (If it has the static modifier, then it becomes a static variable.) …

  9. What is the difference between constant variables and final variables ...

    May 30, 2015 · Please help me understand the difference between constant variables and final variables in Java. I am a bit confused with it.

  10. r - Error: unexpected symbol/input/string constant/numeric constant ...

    Error: unexpected symbol/input/string constant/numeric constant/SPECIAL in my code Ask Question Asked 11 years, 7 months ago Modified 3 years ago