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
var myVariable = 26 % 6; document.write(myVariable); .... why it's output shows "2"??
javascript
operators
7 Votes
2 Answers
1st Aug 2017, 4:01 PM
TONMOY SANTRA
What is the output of this code? int a = 4; int b = 6; b = a++; Console.WriteLine(++b);
c#
0 Votes
11 Answers
24th Sep 2016, 9:10 AM
Elvin Namazov
int a = 4; int b = 6; b = a++; Console.WriteLine(++b); == 6?
c#
0 Votes
6 Answers
17th Nov 2016, 5:01 PM
Róbert Lowell Szenczi
what is the output of this code? int a = 4; int b = 6; b = a++; console.writeline(++b); _ pls help me
c#
-3 Votes
17 Answers
10th Aug 2016, 12:24 PM
Yasin Demirci
What is the output of this code? static int Test(out int x, int y=4) { x = 6; return x * y; } static void Main(string[] args
code?
int
is
of
output
static
test(out
the
this
what
0 Votes
2 Answers
19th Sep 2018, 1:39 AM
Lavetta Lewis
for(int i = 1; i <= 5; i++) { System.out.print (i + " "); int k = 6; int sum =
code
1 Vote
4 Answers
10th Mar 2021, 7:10 AM
Monir Hossen
In Java : Int a = 5, b = 6; a = a++; b = a; then What is the value of a+b.?
code
increment
java
operators
2 Votes
4 Answers
4th Nov 2019, 3:40 PM
SvSatish Polnati
I don't understan this operator %= why the result is 3 for this expression? int x = 15; int y = 6; Console.WritLine(x %= y);//output 3
c#
0 Votes
9 Answers
15th Jun 2016, 5:53 PM
Tommaso
public class finalwithref{ final int a = 6; } public class Program { public static void main(String[] args) { final
java
-2 Votes
2 Answers
13th Sep 2021, 8:08 AM
Amala Yakin
نص السؤال How many times "Hi" is get printed? int a = 3; int b = 6; while(a<b) { cout<<"Hi"; a++; b--; }
"hi"
{
}
=
3;
6;
a
a++;
b
b--;
c++
cout<<"hi";
get
how
int
is
many
printed?
times
while(a<b)
السؤال
نص
-5 Votes
2 Answers
3rd Jan 2021, 3:35 PM
Qussai M El-mughrabi
What is the output of this code?
6;
int
is
of
output
return
static
Test(out
the
this
void
what
x
y;
y=4)
-1 Vote
36 Answers
18th Feb 2017, 7:34 PM
Emmanuel Makonga
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
i have error on line 29 please help
0 Votes
Bash
0 Votes
Links of cmy codes
5 Votes
Please help
0 Votes
Python comparison question - HELP!!
0 Votes
Why exception is not handled
1 Votes
post incrementing and decrementing
0 Votes
Link
6 Votes
Ruby
2 Votes
I would like to ask what's the problem in my code and why...?
1 Votes