New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Pro Challenge - List Operations 2; Bingo
challenge
python3
0 Votes
10 Answers
14th Dec 2020, 2:29 PM
Christopher Cox
var arr = [1,2,3]; var str= "abc"; arr.length = 2; str.length = 2; console.log(arr.length + str.length);
javascript
0 Votes
3 Answers
9th Jun 2021, 1:35 PM
Rohit Ahuja
x -= 1; // 2 x /= 2; // 3 x %= 2; // 1
operators
0 Votes
2 Answers
16th Nov 2018, 6:22 PM
Esra Gül Anlar
How does p = q; *p = 2; work?
*p=2
c
p=q
pointers
quiz
0 Votes
4 Answers
21st Jan 2021, 11:15 PM
silentlearner
what this solve , int x= 2; int y=4; int result =x+y; system.out.println (.....)
java
operators
-39 Votes
37 Answers
30th Jul 2016, 12:57 AM
Ani Nuraeni
How does it work. For(int i = 2; i<10; i=i*i)
loops
3 Votes
2 Answers
5th May 2021, 7:58 PM
Ndeleche Hamis
Why dont we used return 2; instead of return 0; ??
c++
2 Votes
5 Answers
16th Nov 2016, 5:48 PM
Maham Maham
int c = 8 << 2; printf("%d",c); what will be the output?
c
1 Vote
4 Answers
18th Sep 2020, 1:46 AM
Ambika Kewat
let x = 7; x++; x - 2; x *= 3; console.log(x);
code
help
question
variables
0 Votes
3 Answers
12th Mar 2023, 6:29 PM
Eren
int i = 2; while (i <=10) { cout<<i<<” ”; i+=2; }
c++
programming
-5 Votes
3 Answers
8th May 2020, 4:25 PM
Mihaela Trencheska
Why <?php $a = 2; $b = $a++; echo $a; ?> is a=3 and b=3
php
0 Votes
3 Answers
5th Jul 2017, 12:23 AM
Sandra Curo
Why <?php $a = 2; $b = $a++; echo $b; ?> is a=3 and b=2?
php
0 Votes
3 Answers
5th Jul 2017, 12:19 AM
Sandra Curo
What is the output of this code? int a 3; int b 1, 2; int c 4; b[3] 10; printf("a %d\n", a);
array
c
cpp
3 Votes
2 Answers
17th Feb 2019, 3:50 PM
Lord_fourth
Int x = 2; int y = 4; int result = x + y; system.out.printIn( );
operators
-5 Votes
3 Answers
3rd Dec 2020, 7:54 AM
Titus Njoroge
What will be the output of the function if it gets called? int func(){ cout<<1; return 2; cout<<3; }
c++
0 Votes
3 Answers
22nd Aug 2016, 11:09 AM
Soutik
int num = 2; int x = 3; if(num >= 2) { if(x > 4) { num = 3; } else { num = 4; } } else {x = 1; }
c++
if
1 Vote
11 Answers
26th Nov 2022, 10:38 AM
Sourabh Jaiswal
There is really a difference when using the lLIMIT condition in this format lLIMIT 1,2; and this LIMIT 1 OFFSET 2; ?? Plz help !
mysql
sql
1 Vote
6 Answers
30th Mar 2020, 3:22 PM
kamel BOUHENNI
Which of the following generates a syntax error? A. c *=3; B. c %= 2; C. c / =4; D.None of the above
c#
community
sololearn
worldwide
0 Votes
2 Answers
24th Aug 2022, 5:19 AM
swan angel
What is the output of this code? class Temp { public int num = 2; public Temp() { num++;} ~Temp() { num++; } } static void
c#
1 Vote
3 Answers
30th Apr 2019, 2:07 PM
Smit Chawda
what will be the output of the following function, if it gets called? int func(){ cout<<1; return 2; cout<<3; }
c++
0 Votes
2 Answers
25th Aug 2016, 11:20 AM
Lekhraj Singh
var r = (function (x, f = () => x) { var x; var y=x; x = 2; return (x + y + f()); })(1) console.log(r);
javascript
2 Votes
4 Answers
9th Dec 2017, 8:52 AM
Luke
Am I to type return 0;?
?
0;
2;
or
return
0 Votes
1 Answer
28th Oct 2019, 3:17 PM
Tommzydanz
What is the output of this code? class Temp { public int num = 2; public Temp() { num++;} ~Temp() { num++; } } static void
c#
0 Votes
1 Answer
30th Apr 2019, 2:07 PM
Smit Chawda
File in the blank to print the sum of the tow variables. int x= 2; int y=4; int result = ; system. out.printIn( );
operators
-1 Vote
2 Answers
4th Jun 2020, 4:35 PM
Krrish Rk
how the answer become 15... any one can please explane in easy way. regards #include <iostream> using namespace std; int main() { int a = 2; int b= 1; cout<<(++a/b++)*5;
c++
1 Vote
4 Answers
31st Oct 2016, 10:24 AM
zbwafi
I have tried the postfix in my Xamarin studio and the code is like int x = 2; int y = x++; then WHAT would be the output??
c#
operators
1 Vote
2 Answers
20th May 2017, 7:50 AM
Emranul haque
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Hello, please help me understand how to solve
1 Votes
Initials of name
1 Votes
post your python code here)
2 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Why are the outputs appeared different?
1 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
Help with homework
0 Votes
Forever loop pls help
0 Votes
Is Python Developer just everything from beginner and intermediate combined in one course?
0 Votes