Neuer Kurs!
Jeder Programmierer sollte
generative KI
lernen!
Kostenlose Lektion ausprobieren
Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Pro erhalten
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
i=0; i++*++i=?
java
2 Stimmen
3 Antworten
12th Nov 2016, 12:24 PM
ANAND ALABAL
var arr=[1,4,6,4,2]; for(var i=0; i<3; i++){ arr[i]=arr[i]+arr[i+2]; } document.write(arr[3]);
javascript
js
script
3 Stimmen
4 Antworten
10th Apr 2023, 11:30 AM
Manshu
can anyone answer this with correct explanation int i=0; printf("%d%d%d%d",--i, ++i, i--, i++);
c++
operators
0 Stimmen
12 Antworten
15th Aug 2016, 10:50 AM
fb@ankit.singhal.357
#include<iostream.h> int main() { for(int i=0; i<10; i++) if(i&2) cout<<i; }
<?>
0 Stimmen
2 Antworten
9th Dec 2019, 5:43 AM
Mahmoud Taher
#include <stdio.h> int main() { int i=0; for(i=1;i<=5;i++); printf("%d",i); return 0; }
answer
any
can
code
give
of
this
1 Stimme
1 Antwort
30th Dec 2020, 3:59 AM
Ankit Kumar
int i=0; cout<<++i + ++i + ++i<<endl; why output of this code is 7?
c++
increment
operator-precedence
4 Stimmen
7 Antworten
18th Nov 2016, 7:06 AM
tutalia
include <stdio.h> int main() { char i=0; switch(i) { case '0': printf ("c"); break;
hh
0 Stimmen
9 Antworten
7th Jan 2021, 8:50 AM
Ankit Kumar
#include<stdio.h> #include<string.h> void main() { char *str="His"; int i=0; for(i=0;i<=strlen(str);i++) printf("%s",str++); }
c
c++
challenge
codding
code
html
jquery
require
sololearn
subqueries
1 Stimme
3 Antworten
29th Apr 2020, 3:59 AM
Rihaj Mujawar
int n=10; int i=0; while(i<3) { if(i==3) { continue;} n=n*i; } System.out.println(n);
java
0 Stimmen
2 Antworten
7th Oct 2020, 5:39 PM
Ajit Patel
#include <stdio.h> int main() { int j=0; for(int i=0; i<100; i++) { j=j++; } printf("%d", j); } Output = 0
c
5 Stimmen
9 Antworten
7th Dec 2018, 4:37 PM
👑 Ak-king 👑
why is the answer to this question 12? k=6; for(var i=0; i<k; i++){k+= 0.5; } document.write(i);
12?
answer
is
why
2 Stimmen
4 Antworten
17th Nov 2020, 5:10 PM
Francis Woli
Solution for Python while else for problem?
<3
i=0;
while
0 Stimmen
2 Antworten
26th Nov 2020, 11:15 PM
Alex[]
int main () { int a[3] = {2,7,3}; for (int i=0; i<3; i++){ a[i]-=i; } cout<<a[i]; }
arrays
c++
1 Stimme
6 Antworten
3rd Aug 2016, 4:43 PM
Hakatek
#include <iostream> using namespace std; int main() { int ages[5]; for (int i=0; i<5 ; ++i) { int min=ages[0
c++
1 Stimme
5 Antworten
10th Feb 2021, 5:43 PM
Med Iheb Harbaoui
#include <iostream> using namespace std; int main() { int i=0; for(;i<5;i+=3){ i=i*i; }cout<<i; return 0; }
cpp_output
0 Stimmen
1 Antwort
21st Oct 2017, 6:00 AM
Sharad Suryavanshi
what is the output of this code? array list<Integer>list=new Array list<Integer>(); for(into i=0; i<6; i++){ list.add(i); } int x=0; Iterator<Integer>it=list.iterator(); while(it.hasNext()){ x+=it.next(); } System.out.println(x);
java
0 Stimmen
2 Antworten
26th Mar 2017, 11:42 AM
Teja Swini
#include using std::cout; int main() { int i=0; cout << (i=0? 1:2? 3:4); return 0; }
c
-3 Stimmen
3 Antworten
14th May 2020, 11:31 PM
Md Saiful Islam
for(;;) { int i=0; if(i==1){System.out.println(i); break;} ++i;} Will this code run for infinite times? If yes then how?
for
loops
1 Stimme
1 Antwort
13th Aug 2017, 7:11 AM
Paul Gaikwad
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
2 Stimmen
5 Antworten
26th Jul 2016, 3:05 PM
Darsh Shah
int m, n; cin>>m>>n; double ** T = new double*[n]; for(int i=0; i<m; i++){ T[i] = new double[m]; }
matrix
0 Stimmen
1 Antwort
4th Nov 2016, 11:49 PM
mohammad hatami
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
1 Stimme
3 Antworten
24th Jul 2016, 5:22 PM
Darsh Shah
i dont get the code on the end what should make the pet giving both Meow and Woof especially for (int i=0; i<2; i++) {
polymorphism
0 Stimmen
2 Antworten
14th Jan 2019, 9:59 PM
Nuh Cetin
why it is not show any output when run this program #include<iostream> using namespace std; int main(){ for(;;){ int i=0; if(i==1){ cout<<i; break; } ++i; }
c++
1 Stimme
2 Antworten
1st Sep 2016, 9:01 AM
Lekhraj Singh
why it is not show any output when run this program #include<iostream> using namespace std; int main(){ for(;;){ int i=0; if(i==1){ cout<<i; break; } ++i; }}
c++
0 Stimmen
2 Antworten
2nd Sep 2016, 6:28 PM
Lekhraj Singh
How is the result 17 please i need good explanation on this, anybody please? What is the output of this code? Int result=0; for(int i=0; i<5; i++){ if (i==3){ result +=10; } else { result +=i; } } System.out.println(result);
java
4 Stimmen
8 Antworten
20th Feb 2017, 2:10 PM
keita Abdullah
Int x=0; For (int i=0; i <8; i++) { x=i*i; } what will be the output ; and what will be the value of( i) after the for loop
c++
sololearn
-1 Stimme
2 Antworten
9th Feb 2017, 7:20 PM
Sultan
public class Program { public static void main(String[] args) { int result = 0; for (int i=0; i<5; i++) { if (i==3) { result += 10; } else { result += i; } } System.out.println(result); } } The result is 17. But how? I want to understand. please help.
java
0 Stimmen
3 Antworten
5th Jul 2016, 5:04 PM
Beniamin Firtala
Eine Frage stellen
Eine Frage stellen
Heute heiß
How to cast in python
2 Votes
Python
1 Votes
Does casting not adjust the pointer in c++
3 Votes
Invitation to join open-source project.
5 Votes
Hey, I need help solving this problem!
1 Votes
HTML Module 3 Quiz
1 Votes
Hello, Can anyone tell me that when Android & Kotlin course will be available in App?
1 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
Field name in ef core
0 Votes
Why does my image tagname not work.
0 Votes