Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why can't I use void main instead of int main.
c++
cout
2 Votes
4 Answers
16th Aug 2016, 4:48 AM
Amitesh
why double Quotations instead of angle brackets?
c++
classes
0 Votes
1 Answer
14th Dec 2016, 3:48 AM
Hesam Kashefi
Why does the following code print 2 instead 5?
c
int
objective-c
pointers
printf
1 Vote
1 Answer
24th Jan 2020, 9:49 AM
Subha Basak
Why is this code output 6 instead of 5
lendth
python
python3
strings
1 Vote
1 Answer
14th Feb 2023, 10:39 AM
Ravindu Dilshan
Why is #intro used instead of intro{ ?
css
selectors
1 Vote
2 Answers
27th Mar 2017, 4:50 AM
Ram Anuj Verma
why print() in python3 instead of just print
functions
geek
print
print()
programmer
python
python3
statement
1 Vote
2 Answers
6th Nov 2016, 5:53 PM
Iqbal Mohammad Rhidwan
Can python be used to program a Web page instead of javascript?
html
javascript
python
2 Votes
7 Answers
4th Sep 2020, 8:52 PM
DayStorm
Attaching a single event listener to body instead of multiple separate ones
event
javascript
listener
2 Votes
5 Answers
17th Apr 2023, 11:37 AM
Alex Snaidars
Explain why the output is 12 instead of 9
function-arguments
1 Vote
1 Answer
18th Aug 2019, 7:50 AM
Tom
Why does this code prints 20 instead of 30?
c/c++
0 Votes
2 Answers
24th Dec 2020, 12:30 AM
Glade
Can I use getch() instead of return in c++
c++
sololearn
1 Vote
2 Answers
13th May 2018, 1:14 PM
Joe Franklin
Why cant we use normal variables instead of pointers for dynamic memory allocation?
c++
pointers
3 Votes
4 Answers
25th Aug 2018, 7:44 AM
Rashim Narayan Tiku
Why it prints 14.445 instead of 14.45 when I input 3 ?
for
if
python
python3
range
2 Votes
5 Answers
11th Dec 2022, 12:09 PM
Engineer X
I have four caracter read instead five. Thanks you sir.
caracters
five
read
-2 Votes
4 Answers
17th Oct 2021, 1:30 PM
Malick Diagne
Tell me why does this print 1 instead of 0?
increment
4 Votes
3 Answers
11th Sep 2017, 9:01 PM
Mark Daniel Walker
Why to use 'querySelector' instead of 'getElementById' or 'getElementByClass' in JavaScript?
javascript
js
1 Vote
5 Answers
23rd May 2021, 10:54 AM
Mayank Gupta
[Solved] Why is program give 12 instead of 11
java
0 Votes
2 Answers
17th Jul 2019, 7:35 AM
Dprincebh
Why do Def programs use return instead of print?
data-types
python
0 Votes
4 Answers
28th Nov 2016, 2:40 AM
The Nerd Rants
Can i use domain instead of my ip in XAMPP?
xampp
2 Votes
2 Answers
20th Sep 2020, 7:39 AM
Rice Noodle
I think instead of #include<iostream> ,it should be #include<iostream.h> ??
c++
2 Votes
4 Answers
6th Jan 2018, 10:47 AM
Akanksha Yadav
Can i use void main instead of int main???
c++
0 Votes
4 Answers
29th Oct 2016, 4:08 AM
M Zeya
Why does it show all numbers instead of prime numbers
for
if-statements
java
loops
print
1 Vote
5 Answers
3rd Mar 2017, 4:01 PM
Wildman Fizat
Is it possible to inherit from a class in __init__ instead of: class Child(Parent):
cpython
inheritance
oop
python
2 Votes
12 Answers
29th Jul 2020, 2:31 PM
Ali Abdelhady
Why this code takes only 1 input instead of 2 ?
java
0 Votes
5 Answers
16th Jun 2021, 4:02 AM
kushal
someone help me to put a text balloon instead of the alert?
css
html
javascript
1 Vote
5 Answers
4th Jan 2023, 7:07 PM
Neymar Silva
why don't we use "void main" instead of "int main"?
main
void
2 Votes
4 Answers
6th Mar 2017, 7:11 PM
Tushar
How do you get the PAGE.MAINDOMAIN.com instead of MAINDOMAIN.com/PAGE
?
.vs/
/
domain
dot
how
pages
question
the_dot
vs
1 Vote
2 Answers
14th Jul 2020, 8:22 PM
Ginfio
Can anyone explain it to me that why we are getting 18 instead of 17
c
doubt
0 Votes
10 Answers
21st Jan 2021, 7:34 AM
Aman Sharma
Is there anyway to get user input as the program runs on sololearn's editor, instead of before the program runs?
editor
input
sololearn
18 Votes
3 Answers
20th Mar 2018, 3:40 PM
Stefan Kef
can I use JavaScript instead of HTML for form?
forms
html
1 Vote
3 Answers
8th Jul 2016, 8:46 PM
Hassan
Why pi value print using doubledatatype?? Instead of float??
data-types
0 Votes
2 Answers
25th Apr 2019, 8:02 AM
Sudalaimuthu.S
Can we write <scripting language> instead of <script language
<script>
0 Votes
3 Answers
3rd Apr 2019, 10:39 AM
Prabhat Pandey
What’s the advantage of using class methods instead of just methods?
classmethods
python
0 Votes
5 Answers
29th Apr 2018, 7:36 PM
Sprite
Storing string values in a queue instead of numerical values
c
1 Vote
3 Answers
7th Mar 2020, 7:42 PM
Jergan Hector
Why does (I==1; I<=3; I++) printf ("hello") print hello four times instead of three times?
codigo
1 Vote
8 Answers
22nd Jan 2020, 4:07 PM
ASIYA SHAIKH
Can we use input instead of print in python all the time?
python
strings
0 Votes
7 Answers
9th Apr 2018, 8:35 PM
ayush goel
Can we make operating system with java instead of c?
c
java
1 Vote
2 Answers
4th Jan 2021, 5:11 PM
Radhakrishan
Why is it faster to use multiple files instead of one?
files
1 Vote
3 Answers
9th Apr 2019, 11:39 PM
Cheese Burger Joe
if we use 'num++' instead of 'num = num+1' what hppened
c++
loops
0 Votes
7 Answers
9th Jul 2016, 10:43 AM
Avinash
Can't understand how this program returns value as 5, instead of 6.
java
reference-types
value-types
1 Vote
8 Answers
17th Jun 2017, 8:11 AM
The KMM
Why Python uses interpreter instead of the compiler?
python
0 Votes
2 Answers
21st Oct 2016, 12:56 PM
Sattar Hashemi khosroshahi
(Answered) Please tell me why my code is printing vertically instead of horizontally.
codecoach
piglatin
python
python3
1 Vote
7 Answers
7th Sep 2020, 6:35 AM
Hyperion
Associative Arrays (why "=>" instead of just "=" )
associate
1 Vote
1 Answer
25th Jun 2019, 11:36 AM
mohan borkar
why some programmers crate variable with let instead var
javascript
variables
2 Votes
2 Answers
7th Oct 2016, 7:16 AM
Efsun Idriz
Why cant u just use gr instead of ^gr
regular-expressions
0 Votes
2 Answers
22nd Sep 2018, 1:36 PM
Amasa Abubakar
I asked for hint and instead got fail buzzard sound !!
button
hint
not
working
1 Vote
3 Answers
15th Sep 2018, 8:31 PM
Elena
Can sameone explain why the answear is "3Solo12" instead of "3Solo3"?
challenges
java
3 Votes
5 Answers
5th Nov 2017, 9:15 AM
Quanz
Is there another way to create android apps instead of Android studio ?
android
apps
java
kotlin
pc
0 Votes
8 Answers
27th Dec 2019, 2:02 AM
Faiz Tchekiken
can we take any other data type instead of "int main".
c++
classes
0 Votes
7 Answers
23rd Aug 2016, 4:30 PM
Sami Okz
Why con't we use vectors instead of arrays ?
c++
0 Votes
2 Answers
14th Oct 2018, 7:43 AM
√!π😊d
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
6
7
8
...
24
Next >
Hot today
How many days will It takes to completely learn front end
4 Votes
SQL
3 Votes
HTML/CSS questions
0 Votes
JAVA PROGRAMMING
2 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
How can I continue with my goal if I lost all my lives?
0 Votes
member initializer list : order of evaluation
0 Votes
Find courses
0 Votes