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
Which is the difference between: "string test;". "string test = "" ; ". "string test = null; "
?
??
c#
null
vars
0 Votes
6 Answers
7th Oct 2018, 12:26 PM
Gabriel Felix dos Santos
I wanted to know if you think that SoloLearn should be updated. Leave a comment ; )
people
sololearn
update
2 Votes
4 Answers
21st Feb 2018, 8:41 AM
Adam Moyart
In C++, we use pointer. While, In java, we do not use pointer ; But both are "Object Oriented Programming", then why is it so?
c++
java
pointers
5 Votes
12 Answers
28th Nov 2018, 2:51 PM
Bipin Tatkare
How do I change the type of a variable in a Constant?
,
;
echo
0 Votes
3 Answers
2nd Mar 2021, 4:28 PM
Александр Коробейников
#include <stdio.h> int main() { char subject ; printf ("Enter your subject\n"); scanf ("%c", & subject ); switch (subject
case
switch
0 Votes
5 Answers
11th Mar 2021, 7:47 AM
ƊЄƔ ƤƦƛƬƛƤ ƧƖƝƓʆ
Do you need to put a ; at the end of every line of code? (JavaScript)
code
lines
of
1 Vote
2 Answers
19th Jan 2019, 9:48 PM
Pandazzling
Bonjour my webpage is not display. I want to connect to my database ; thanks you
connect
database
my
php
to
using
0 Votes
1 Answer
31st Dec 2022, 5:23 AM
Malick Diagne
#include <iostream> using namespace std; int main() { int ages[5]; for (int i=0; i<5 ; ++i) { int min=ages[0
c++
1 Vote
5 Answers
10th Feb 2021, 5:43 PM
Med Iheb Harbaoui
#include<iostream> using namespace std; int main(){ int x=3; int y=2; x++; y*=x++ - ++y * ++x ;
operators
2 Votes
3 Answers
23rd Feb 2018, 12:01 AM
stop.ol
What will happen when two float added or multiplied ? Like 2.0+3.3 =? ; 7.4 * 4.3 =?
basics
data-types
float
numeric-operations
python
1 Vote
5 Answers
16th Apr 2017, 6:59 AM
Saikat Das
can someone help, fill in the blanks to print all elements of the array using a for loop? int [] arr= new int [7]; ? (int k=0; k < ? ; k++){ console.writeline ( ??? [ k] );
c++
-1 Vote
7 Answers
2nd Jul 2016, 8:40 PM
Joyx Kish
int func(int num) { int count = 0; while(num) { count++; num >>= 1; } return(count) ; }For func(435) the value returned is
c#
c++
10 Votes
4 Answers
27th Mar 2020, 5:11 AM
Raj Kalash Tiwari
In where we really use this expression "using namespace std ; " in c++ ?
c++
llibrary
namespaces
standard
std
using
1 Vote
1 Answer
12th Sep 2018, 5:56 AM
Atik🇧🇩
Var x = '2*2'; var y = 4 ; var z = eval(x+y) ;alert(z); why the answer =48 ? Can anyone explain it?
javascript
2 Votes
2 Answers
4th Feb 2020, 12:20 PM
Ibrahim Idrees
Why should we write short code, but it is complicated in Python ; when it can be simpler ???
python
python3
0 Votes
2 Answers
9th Aug 2020, 6:27 PM
MOHAMMED MOTASIM HAMED
How i got this ans explain please i want to know how 1 i got in printf ("%d", p<q) ;
c
programming
0 Votes
5 Answers
13th Oct 2020, 10:23 AM
Habit🧐
What is the output of this code? enum Test {a=2,b,c,d,e}; static void main (string [] args){int(x) = (int)Test.c ; writeln (x)}
enums
-3 Votes
4 Answers
7th Jun 2017, 11:50 PM
thomo
In java script loops. var i =0; for(; <10000000). { document.write(i+ "<br />"). i++ ; }
javascript
loops
2 Votes
1 Answer
18th Apr 2017, 12:08 PM
Vigneshwar
what is the output put of the following program? int main () { int x=5; static int y =x; prinf("%d", y) ; }
5
error
garbage
3 Votes
4 Answers
10th Sep 2019, 5:17 PM
Vaibhav Karma
include <iostream> #include <string> using namespace std; class cofe { private: bool (checkvolt)() { return true ;
code
1 Vote
1 Answer
20th Jun 2020, 1:48 AM
Buneodbek
In python ; instead of using the #float and #int functions after reading a numeric value, can the #eval function be used ?
eval
float
int
5 Votes
4 Answers
3rd May 2019, 9:36 PM
Abdelkader Barraj عبد القادر البراج
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in) ; System.ou
java
-1 Vote
2 Answers
13th Jun 2021, 9:38 PM
Musaif
Guys is there a way to do something like this (Java) String[ ] myNames ; myNames[] = { "A", "B", "C", "D"};
c++
java
1 Vote
6 Answers
7th Jan 2019, 2:19 AM
BALA KUMARAN J
Can some one help me with it . When i run it ; it makes error in the source . "UNKNOWN SOURCE"
error
1 Vote
7 Answers
6th Jun 2017, 9:46 PM
ali abedalhadi
After adding an opacity of 0.3 to the div the text is also affected , how can i fix this ;
background
image
z-index
2 Votes
3 Answers
25th Feb 2021, 7:35 PM
Francisco Bensaia
#include <string> #include <iostream> using namespace std; int main() { string colour = "black" ; cout <<" chge"; return 0;}
c++
0 Votes
2 Answers
31st Jul 2018, 9:01 PM
Piyush Goyal
Please how can centralize my html form using css or html?
;
:
center
float
0 Votes
4 Answers
4th Jun 2019, 2:14 PM
Hassan Sunusi Kani
How to import csv file with ; separator in mysql via php, i can import csv with coma but not with semicilon.
mysql
php
4 Votes
4 Answers
23rd Oct 2017, 9:42 AM
sfeuh
int main() { int i=4; int ii=i*i; int iii = ii*i; cout <<iii/ii-i<<endl ; //Outputs 0 return 0; }
code
output
1 Vote
3 Answers
3rd Jul 2017, 10:09 AM
Kushagra Agarwal
What are ideal situation when we use pair<> in c++. Can we compare two different objects using pair<obj1,obj2> p ; like this ..
c++
pair
stl
3 Votes
5 Answers
22nd Mar 2018, 11:11 AM
Usman Ali
#include <stdio.h> int main() { int k,sum ; printf("number of terms in series = %d", k); scanf("%d",&k); sum = k*(k-1)/2; print
c
1 Vote
2 Answers
12th Aug 2019, 3:44 AM
Rahul Sikarwar
In python ; how can i test if a character exist or not in a list that begin from 0 to 9 ... or from list a to z ?
character
exist
in
python
string
6 Votes
8 Answers
19th Aug 2019, 7:38 PM
Abdelkader Barraj عبد القادر البراج
I got this question on python challenge, what's the output? And why does this have ; at the end? Python doesn't need that right?
python
0 Votes
5 Answers
23rd Apr 2020, 5:46 PM
Anrico Gideon
What is the best Library in java for developing GUI Applications ; AWT, FX or Swing ?
AWT
fx
java
programming
swing
0 Votes
1 Answer
23rd Apr 2017, 4:05 PM
Abd Elrahman Omar
var arr = document. getElementsByTagName(" img "); for(var x=0; x<arr. ; x++) { arr[x]. = "demo.jpg"; }
dom
javascript
-6 Votes
1 Answer
24th Oct 2017, 7:28 AM
vignesh rajasekaran
Fill in the blanks to shift the element 10px to the right from its position. .box { : ; : 10px; }
solve
0 Votes
2 Answers
21st Nov 2022, 7:31 PM
Bittu kumar
Can we print a statement with out using printf/cout statement also not using ; in c/c++ or any other programming language ?
c
c++
java
sql
1 Vote
4 Answers
25th Feb 2017, 10:57 AM
Abhiseka Dash
Select distinct column 1, column 2 from table name ; and select column 1, column 2 from tablename;
sql
-1 Vote
2 Answers
4th Feb 2017, 3:51 PM
shiva rai
370= 3^3+7^3+0^3 ; ^ powers, can anyone write python coding to find other that are in 1-1000 range
python
0 Votes
2 Answers
15th May 2017, 11:51 AM
lorshan
If ASCII value of 'x' is 120 , then what is the value of the 'H' , if H =('x' - 'w')/3 ;
ascii
0 Votes
3 Answers
4th Jun 2018, 6:34 AM
Nabyendu Barui
: and ; this Colon's( in python) what is the uses of this any one explain please .
python
0 Votes
1 Answer
2nd Apr 2020, 4:23 AM
Harshan Hasrhan
Fill in the blanks to declare a time structure with members,minutes and horus
;
hours
int
minutes
time
0 Votes
4 Answers
22nd Sep 2022, 8:29 AM
AAGAM DAGLI
Guys what is the vehicle v1= new vehicle (); and vehicle v2= new vehicle () ; used for i don't get it . please guys help...
java
6 Votes
3 Answers
15th Jan 2018, 10:31 AM
Franklyn Omeben
This code outputs '4' and I wanna know why [explain line by line if you can ; please ] thanks in advance .
c++
switch
2 Votes
4 Answers
22nd Jan 2017, 3:43 PM
Amr Monsef
Wy we have to use in global scope global $name; instead we can use only echo $name ;
global
scope
0 Votes
1 Answer
21st Jun 2017, 5:22 AM
R Prathibha
I am a beginner ; and i want to build my own app , help me in this
display
-1 Vote
1 Answer
23rd Jun 2020, 6:38 AM
Noor Abbasi
What's the full meaning of xp ; we earn. What metrics are used in evaluation how many you have earned
xp
1 Vote
2 Answers
30th Aug 2017, 5:02 AM
Jefferson Muinde
Can we use parantheses {} (pardon if i say it wrog) to define block of code in python as done in JAVA,C and also use ; in python
java
python
python3
syntax
0 Votes
6 Answers
7th Sep 2020, 6:51 PM
Umang Goswami
Code for Python to Write/Read and Using data from file ; any suggestions can you make me to understand what we can do more?
arrays
files
python
readonly
writeonly
5 Votes
2 Answers
25th May 2017, 1:40 PM
Melih Melik Sonmez
Arrays ; can someone please explain line by line for I stuck in arrays so far .. :) specially line 3
c++
0 Votes
3 Answers
22nd Jan 2017, 10:12 PM
Amr Monsef
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
4
5
6
Next >
Hot today
Invitation to join open-source project.
15 Votes
Does casting not adjust the pointer in c++
3 Votes
How to cast in python : 2
2 Votes
Bits
4 Votes
Why does my image tagname not work.
0 Votes
Want to know how to handle VISUAL STUDIO?
0 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
Polyalphabetic Cipher
0 Votes
Why didn't I get it?
1 Votes
No connection message
0 Votes