Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
problem_name_2
#include<iostream> using namespace std; void func(int num); int main(){ int num=66; cout<<"The number is :"<<num<<endl; func(num); } void func(int num){ cout<<"The binary is: "; while(num!=0){ cout<<num%2; num=num/2; } }
run
|
edit
|
history
|
help
0
Throttle Example (Send two requests every two seconds)
problem_name_1
Struct memory ordering
std::function copies
BinaryGap, C++ - Find longest sequence of zeros in binary representation of an integer.
Argument passing by using reference and value
Integer conversions
Bubble Sort Example
Range List for C++
Pointer array