Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why is the size of the dynamic array b not the same as the array a, even though both have 17 elements ?
arrays
c++
dynamic
sizeof
0 Votes
7 Answers
7th Apr 2018, 6:57 AM
Kuldeep Singh
Биты! Куда их тратить, если накопил +1,5к?
$
b
bits
kb
money
1 Vote
5 Answers
11th Oct 2022, 2:02 PM
ㅤㅤㅤ
In python, to shorten assignments like this, a=a+b we use a+=b right? (assuming the variables a & b are pre-defined)
assign
operations
python
0 Votes
3 Answers
31st Aug 2018, 10:17 AM
Eyob G. Hagos
please can can someone help me with this when i enter a b c it don't give me s ?
c#
0 Votes
3 Answers
31st Oct 2020, 8:20 PM
El mhadji Mohamed abdelhak
I got a question on challenge like var a="I like studying with Sololearn", var b =a.split(" "), document.write(b)
challenges
javascript
1 Vote
2 Answers
22nd Dec 2017, 5:14 PM
Saurav Agrawal
If any of u could teach me programming basics for class 9 it would b a great help to me
java
0 Votes
4 Answers
28th Jan 2017, 3:12 PM
isha jaiswal
i entered letter "g" instead of integer value for a & b for fun, but code "a+b" gave me value "8", why? lang-C.
input
output
0 Votes
4 Answers
9th Jun 2019, 6:56 AM
Jaswant Singh
I want matrix B and G to output their values correctly. Can someone please help me fix the bug
_c_3d_matrix
3d
c
matrix
0 Votes
2 Answers
9th May 2019, 8:10 AM
Source_code
Write an algorithm to compute and print the quotient and remainder of two numbers a and b .And also find flowchart and algorithm
python
0 Votes
2 Answers
3rd Sep 2017, 5:14 AM
kailu
could anyone tell me what is the error for that piece of code..why it says that b and c are not declared??!
c++
help!
2 Votes
4 Answers
7th Sep 2017, 12:06 PM
RiGeL
Here if I want to add B and percent how should I do it ? It is always coming wrong because iteger can't be added with variable.
calculator
python
tip
1 Vote
8 Answers
2nd Feb 2022, 12:46 PM
Ishaan9090
Does anyone know the solution to this question?two arrays A (5x7) and B (7x 3). Write a program to multiply the two matrices.
aa
-2 Votes
4 Answers
25th May 2021, 4:32 PM
محمد ۦٓ
a=2;b=3;c= Find the value of X In all the sentences, as follows X=a*b*a-(b+c/a) X=a mod 100 X=a mod b mod c X= c*c*b\2 + 5
.
0 Votes
5 Answers
1st Apr 2021, 6:20 PM
Mohammad _ 97 Alawneh
Как создать множество содержащие буквы, имеющиеся во множестве A, но не являющиеся общими для B и C, и все буквы из множества D?
c++
0 Votes
4 Answers
28th Sep 2019, 4:49 PM
Анна Рогозинская
There must b some questions in which we must write a full program for a given question.
a
program
question
write
1 Vote
1 Answer
1st Nov 2016, 1:14 PM
MSK
I wish to create or implement a database engine on sololearn 4 practical purposes! Is it possible? Please sl team! Would b great
dbb
mariadb
mysql
oraclexe
sololearn
5 Votes
2 Answers
1st Aug 2017, 4:56 PM
Geovanni Rangel (Omkara)
can sub classes have attributes in addition to those they inherit from the master class that aren't methods. class A class B (A,
python
0 Votes
5 Answers
22nd Jun 2020, 4:18 PM
kbeach
Un código que declare la variable B y asigne valor a, y luego imprima su suma en la pantalla. A=15
variable
-2 Votes
3 Answers
20th Oct 2020, 11:33 PM
Luz Amador
what is the ans of this code?
b
basics
python
python3
subqueries
1 Vote
7 Answers
24th Jan 2017, 8:45 AM
Sidd
How strings are compares in python like is ab greater than z or abc less than p or b < d . How to know this?
boolean-logic
python
strings
0 Votes
6 Answers
5th Jun 2022, 3:41 AM
Pratik Pattnaik
int a = 14;int b = 23; if (a&& b) cout << a; else cout << b; can some body tell my what will be the output and explain pl
c++
sololearn
1 Vote
15 Answers
27th Jan 2017, 2:49 PM
Sultan
how can i use if else statement to find the minimum of a and b and assign it to variable min?
else
If
javascript
statement
0 Votes
3 Answers
23rd Jun 2017, 10:10 AM
Abdelghani Laaroussi
How do I check if a string contains a list of letters for example a b c d e ?
c#
0 Votes
1 Answer
1st Nov 2021, 12:21 AM
Super Saj
int a =10 int b = 2 a*=b cout << a/ ++b What is the output? And how do you derive it? Appreciate the help! Thanks!
c++
0 Votes
9 Answers
29th Sep 2016, 9:30 AM
chittychitty15
Drag and drop from the options below to create an object of the A class in the B class and call it's "test" method.
classes
java
objects
-1 Vote
4 Answers
19th Dec 2019, 4:12 PM
Gibson S.B Kasanga
#include <stdio.h> int main() { int a, b; float salary = 56.23; char letter = 'Z'; a = 8; b = 34; int c
c
-2 Votes
5 Answers
30th May 2021, 4:29 PM
Manash Anand
Hi, can anyone print the code for solving the Quadratic formula, for various n-values of a, b and c? THANKS
quadrformula
0 Votes
2 Answers
15th Sep 2018, 10:04 AM
Anne Kjersti Bjørndal
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_
funcionea
1 Vote
2 Answers
23rd Apr 2019, 6:42 PM
Wander Anime
If we are counting occurrence of a num in let say A and B and C. How can we count how many times do ABC occur at the same time.
counting
python3
2 Votes
9 Answers
26th Jul 2020, 11:27 AM
Agazi Birhanu
How to write constructor for class B if it is a derived class of A? How to instantiate?
c++
constructors
inheritance
0 Votes
2 Answers
23rd Nov 2016, 1:51 PM
Marcell Juhasz
Queue management part3. Your Queue class is up and working in a customer service company. The company opens up a new b
c++
if-statements
inheritance
0 Votes
2 Answers
21st Sep 2022, 2:24 AM
Niranjan Kumar Yadav
Rearrange the code to declare two integer variables: a and b, print to the screen the division equation a/b. If b is equal to 0,
c++
exceptions
3 Votes
2 Answers
9th Mar 2017, 6:12 AM
Sunita Sharma
Write a program to swap two variables without using third variable? (two variables a,b. The value of a should go & b to a)
swap
3 Votes
3 Answers
26th Jul 2017, 4:57 AM
Purvesh Jain
can any one explain me here how to validate ip address ( include Class A , Class B and Class C) using regex in python
python
regex
2 Votes
2 Answers
30th Jul 2018, 10:56 PM
kranthi
Do you know the difference between <strong> and <b>, or <em> or <i>??
b
elements
em
html
i
strong
tags
14 Votes
3 Answers
28th Feb 2017, 8:24 PM
Mark Foxx
If I have a class A , class B and create an object of A in the main class( example A.yell()). How can access this opject of the
classes
java
1 Vote
9 Answers
26th Nov 2017, 3:38 PM
jack
Здрасте, если кто знает русский скажите, получается если будет int a = 11; int b = 22; int sum = a+b; cout<<sum,
c++
0 Votes
2 Answers
18th Oct 2020, 6:20 PM
[No Name]
I think this question is wrong... Either world should be in single quote and used as variable later or hello should b in single tag...
php
variables
3 Votes
4 Answers
6th Oct 2016, 12:35 PM
simran adake
Its almost my friends b day and i want to send him my code so he can run it. What should he download so he can run what i send
bday
0 Votes
7 Answers
16th Sep 2020, 1:49 PM
Steven Rodriguez
#include <iostream> using namespace std; void test(int*, int*); int main() { int a = 5, b = 5; cout << "Before changing:" <
c++
dev
-1 Vote
2 Answers
5th Jul 2022, 1:34 PM
Kathleen Joy Uy
class MyClass { public static void main(String[ ] args) { boolean b = true ; for (int i = 0;i<10;i++) if (b=!b)
expain
0 Votes
2 Answers
3rd Aug 2018, 1:19 PM
Ghritika Sharma
I want to set zIndex to the first object b to 1 to display it in front. thanks you.
1
set
to
z-index.
-1 Vote
1 Answer
19th Jun 2021, 10:12 AM
Malick Diagne
What is the output of this line in C... int c = (a < b) ? b : a ;
c
0 Votes
1 Answer
15th Apr 2019, 3:57 PM
T Harish Kumar
If set A contains multiples of number 4 in the interval [1,10] and set B contains the even numbers in the same interval find the
python
0 Votes
4 Answers
21st Apr 2021, 9:19 PM
yara
Cannot get past answer to second to last question
b
em
formatting
su
text
0 Votes
4 Answers
30th Dec 2020, 4:26 AM
Charnae Whitney Wilson-Harris
Given an unsorted array of size n, WAP to find and display the number of elements between two elements a and b (both inclusive).
c
program
0 Votes
3 Answers
8th Aug 2022, 1:15 PM
Aditya Khandelwal
I want b to have all the x[”src”] content then put all that content in text.txt file, but when i run it, it only shows….
python
python3
0 Votes
2 Answers
10th May 2022, 3:15 PM
Lenoname
Why when i set b to 1, 5 or 10 the answer is always 5 ??? I can't understand it. Please help me
a++
b=a++
c++
number
0 Votes
2 Answers
25th Apr 2018, 9:55 AM
WindSeaVT
Write a program to accept the grades for 5 students, and print a summary report as follows : Grade A :…… Grade B : …… Grade
python
-5 Votes
5 Answers
18th Sep 2020, 4:56 AM
Jaina Solanki
Which choice is the output value of the following code: var a = 0 let b = ++a let c = a++ print("\(a) \(b) \(c)")
operators
swift
2 Votes
2 Answers
6th Sep 2016, 7:34 AM
Fetsi Hlase
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
6
7
8
9
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes