Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
int in_stock = 20; if (in_stock) printf("Order received.\n");
else
if
0 Votes
3 Answers
22nd Mar 2019, 2:14 PM
Shailendra Singh
Int x = 20; int y = 10; cout<<(x>y); output????
c++
loops
1 Vote
3 Answers
21st Feb 2017, 3:50 AM
Sanyam Jain
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
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
What will be the value of x after the following code is executed?
(int
10;
20;
5;
for
int
x
y
0 Votes
1 Answer
3rd Oct 2017, 1:00 AM
natet2014
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-modifiers
classes
java
objects
4 Votes
4 Answers
6th Jul 2016, 12:54 PM
João Lourenço
Ask a question
Ask a question
Ask a question
Ask a question
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