Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the output of this code? int arr[] = {2, 4, 6}; int x = (*arr + 1) * (*(arr + 1)); cout << x;
cpp
1 Vote
1 Answer
30th Aug 2020, 2:55 PM
Bayzid
What is wrong? 1) int x = 5/2.0; 2) byte b = 50; b = 2*b; 3) int x = 10; float f = 2.0*x;
error
java
operators
strings
wrong
0 Votes
1 Answer
16th Feb 2021, 5:14 PM
Alrabab Saeed
function pow(x, n) { if (n == 1) { return x; } else { return x * pow(x, n - 1); } } alert( pow(2, 3) );
js
0 Votes
2 Answers
12th May 2021, 3:35 AM
Animesh Mahato
When youâre testing with that; 1) leap year before 2/28, 2) leap year after 2/28, 3) non leap year, so finding a codings for it,
else-statements
if-statements
int
0 Votes
1 Answer
7th Oct 2019, 1:09 PM
Livoni
Create 3 one dimensional Numpy array with 10 items each. 1) Array âaâ with items between 2 and 10. 2) Array âbâ with items bet
problem
solving
0 Votes
1 Answer
16th Dec 2022, 3:18 PM
KP Aiswarya
Can any1 check if this C fuction to delete all the node placed at even position of the link list (start count from 1) is right?
android
c
c++
ds
java
python
r
sql
0 Votes
1 Answer
21st Mar 2020, 6:33 AM
Rohit Negi
If you give 3 inputs the inputs are may or may not different from each other 1) if the inputs are different print 1,2)same pri 0
c
0 Votes
2 Answers
6th Sep 2018, 5:47 PM
Vignesh
which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none
c++
0 Votes
3 Answers
25th Aug 2016, 3:28 AM
Lekhraj Singh
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
Can someone suggest codespace to run my code (react.js)?
1 Votes
Solved Chess tournament youâre creating code for a chess tournament
0 Votes
Is it legal to use conditional preprocessors inside a macro function?
1 Votes
difference btw courses (python)
1 Votes
I write a python code for "Take a phrase and replace any instances of an integer from 0-10 and replace it with the English word.
1 Votes
C++ Solid principles
3 Votes
C Programming roadmap
2 Votes
[off-topic]Where is Result??
1 Votes
[SOLVED] Where do you find code coaches?
1 Votes
Messages
1 Votes