• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

int in_stock = 20; if (in_stock) printf("Order received.\n");
elseif
0 Votes
3 Answers
22nd Mar 2019, 2:14 PM
Shailendra Singh
Shailendra Singh - avatar
Int x = 20; int y = 10; cout<<(x>y); output????
c++loops
1 Vote
3 Answers
21st Feb 2017, 3:50 AM
Sanyam Jain
Sanyam Jain - avatar
Please calculate and type the resulting value of the following expression : var result = 20; result *= 5;. javascript
operators
-11 Votes
11 Answers
23rd Nov 2018, 5:32 PM
ashraf parvez
ashraf parvez - avatar
Please explain how it's output is 100? #include <iostream> using namespace std; void myFunc(int *x) { *x = 100; } int main() { int var = 20; myFunc(&var); cout << var; }
c++pointers
2 Votes
5 Answers
16th Jul 2016, 7:37 AM
yashmi
Can someone explain this int numb = 15; int *numbptr; numbptr = &numb; *numbptr = 20; cout << *numbptr; Output: 20 why changing the value of the pointer chamge the value of the numb variable too?
c++pointers
0 Votes
5 Answers
25th Aug 2016, 1:02 AM
Carlos Augusto Silva Gurgel
Carlos Augusto Silva Gurgel - avatar
What will be the value of x after the following code is executed?
(int10;20;5;forintxy
0 Votes
1 Answer
3rd Oct 2017, 1:00 AM
natet2014
natet2014 - avatar
Can i access to private class var's? Ex. public class me{ private Int a = 1; private Int b = 20; } then we have the constructor and gets and setters, but in other class can I get the values of a and b? calling class or never because its private? How?
access-modifiersclassesjavaobjects
4 Votes
4 Answers
6th Jul 2016, 12:54 PM
João Lourenço
Hot today
I am helloooo
1 Votes
BEST LAPTOP FOR BEGINNERS IN PROGRAMMING
1 Votes
Disappear
0 Votes
Github
0 Votes
About delete
1 Votes
I am new here so it's a bit confusing for me
0 Votes
Anything worth doing before I go? Figured I ask before leaving. Came for interview prep as I have not tech interviewed in years
0 Votes
Curious about certificate
1 Votes
Still failing some test cases
0 Votes
Pls help
0 Votes