/* Decimal to binary */
#include<stdio.h>
#include<conio.h>
void main()
{
int x,i,rev=0,num;
clrscr();
printf("Enter number in decimal:\n");
scanf("%d",&num);
for(i=num;i>0;i=i/2)
{
x=i%10;
rev=rev+x;
}
printf("\nBinary is: %d",rev);
getch();
Hello everyone,
Ever stumbled upon a fact so fascinating that it completely blows your mind? Well, get ready, because I’ve compiled a list of some incredible and lesser-known facts that will surely amaze you. From unique world records to peculiar animal behaviors, here’s a collection of mind-boggling trivia you might not have heard before!
The World’s First Undersea Restaurant: ITHAA, located in the Maldives, is the world’s first underwater restaurant. Imagine dining surrounded by panoramic views of the ocean’s marine life!
Hedgehog Heartbeat: On average, a hedgehog's heart beats a whopping 300 times per minute. That’s a lot of beating for such a small creature!
Clinophobia: Have you ever heard of Clinophobia? It’s the fear of going to bed. Yes, there are people who have a genuine fear of sleep!
Crocodile Teeth: Crocodiles have a unique ability to continuously grow new teeth throughout their lifetime to replace the old ones.
Origin of Tablecloths: Did you know that tablecloths were originally used as towels? Guests would wipe their hands and faces with them after a meal!
Continents' Naming Convention: All the continents end with the same letter that they start with. For example, Africa, Asia, Europe, and America.
Boeing 747 Fuel Capacity: A Boeing 747 airliner can hold up to 216,850 liters of fuel. That’s a massive amount to keep those long flights going!
Violin Construction: A violin is made up of around 70 separate pieces of wood. That’s a lot of craftsmanship for such a beautiful instrument!
Leonardo da Vinci's Inventions: Leonardo da Vinci, renowned for his artistic genius, also invented scissors. Who knew?
India's Wireless Growth: India is the fastest-growing country in terms of wireless connections.
Potato Production: India is the second-largest producer of potatoes in the world, with China being the largest.
Cloned Buffalo: Scientists in India produced the world’s first cloned buffalo, and Garima-II, the third cloned buffalo, has given birth to a healthy baby.
World's Largest Human Blood Droplet: 3,069 students from Kurukshetra University set a record by creating the world’s largest human blood droplet, all while dressed in red!
Tokyo Skytree: Tokyo Skytree holds the title for the tallest tower in the world, reaching an impressive height.
River of Five Colors: Cano Cristales in Colombia is known as the “River of Five Colors” due to its vibrant and colorful appearance.
Tiger’s Swimming Ability: Tigers are powerful swimmers and can swim up to 6.5 kilometers in a single stretch!
Longest Word with Left Hand: “Stewardesses” is the longest word you can type using only your left hand.
Indiana University's Library: The main library at Indiana University, USA, sinks over an inch every year due to the weight of the books.
Most Common English Word: The most frequently used English word in writing around the world is “THE.”
India’s Sugar Consumption: As of 2013, India is the world’s largest consumer of sugar.
Sharps Catching: India ranks second after Indonesia in terms of the number of sharps caught each year.
Dried Beans Production: India is the largest producer of dried beans, such as kidney beans and chickpeas.
Smartphone Market: India surpassed Japan to become the third-largest global smartphone market, behind China and the USA.
Elephant Birth Weight: An elephant calf weighs about 120 kilograms at birth. That’s quite a hefty start in life!
Fish Production: The largest quantity of fish in the world is produced by Japan and Russia.
Swan Feathers: A swan has over 25,000 feathers in its body. That’s a lot of feathers to maintain!
The Quick Brown Fox: The sentence “The quick brown fox jumps over the lazy dog” uses every letter in the English alphabet.
No Clocks in Casinos: Las Vegas gambling casinos are famously devoid of clocks to keep you playing without any sense of time.
I hope you enjoyed these amazing facts as much as I did! Feel free to share this post and let me know if you have any other interesting trivia to add.
Thanks for reading!
Ever wanted to give your computer screen a twist without installing any extra software? Whether you're looking to prank a friend or just experiment with your display settings, rotating your monitor screen is easier than you might think. With just a few keyboard shortcuts, you can change your screen's orientation quickly. Here's how you can do it:
Most modern Windows systems come with built-in shortcuts that let you rotate your screen without the need for any additional software. Here's a simple guide to help you rotate your monitor screen:
Press Ctrl + Alt + Left Arrow
Press Ctrl + Alt + Right Arrow
Press Ctrl + Alt + Down Arrow
Press Ctrl + Alt + Up Arrow
So go ahead and try rotating your screen! It’s a fun way to change things up and might just give you a new perspective on your work. If you're planning to prank a friend, just make sure they know how to switch it back!
I’ve got a super funny trick to share today! Ever wanted to trick your friends into thinking you've got a super high-end processor like a Core-i10 or something even more insane? Well, you can easily do this by tweaking your processor’s name via the Registry Editor. It’s a harmless prank that’ll definitely get a few laughs. 😄
Open the Registry Editor:
Navigate to the Processor Name String:
Modify the Processor Name:
Exit and Refresh:
The next time you reboot your system or power it on, it will automatically detect the actual CPU configuration and reset the processor name to its default. So, this trick is perfect for a quick laugh but won't cause any permanent changes. Let your friend be fooled for a moment, and then watch their reaction when they realize the truth!
One of the most popular tools for downloading videos is Internet Download Manager (IDM). Once you install IDM, it integrates with your browser and will automatically detect and fetch videos you’re watching online. You can download the videos in various formats and resolutions.
Speedbit Video Downloader is another great tool for downloading videos from YouTube. Once installed, it will add a toolbar to your browser that allows you to easily download videos.
A quick and simple method involves modifying the YouTube URL. Replace "www." with "ss" in the video link, and it will redirect you to savefrom.net, where you can choose from various download formats.
http://www.youtube.com/watch?v=bvjHdhfnflkdsn
http://ssyoutube.com/watch?v=bvjHdhfnflkdsn
Offliberty is a straightforward online tool for downloading both YouTube videos and audio. Just copy and paste the video link into Offliberty’s website and click "OFF" to download.
These methods should cover most of your needs for downloading YouTube videos on both PC and mobile devices. Choose the one that best fits your preferences and enjoy your offline videos!
If you found this post useful, feel free to share it with your friends. If you have any other methods or questions, drop a comment below. Thanks for reading!
There are various reasons you might want to block a website: maybe it's distracting, unsuitable for certain audiences, or simply something you'd rather not access. While some antivirus programs offer built-in website-blocking features, there’s an easy method to do this directly using your Windows operating system, without any third-party software.
In this guide, I’ll show you a quick and simple way to block websites by editing your system’s hosts file.
Step-by-Step Guide:
C:
drive).C:\Windows\System32\drivers\etc
hosts
.hosts
file and open it with Notepad with admin privileges.Now, to block a website, simply add the following lines below it:
127.0.0.1 localhost 127.0.0.1 xyz.com 127.0.0.1 abc.com
Replace xyz.com
and abc.com
with the actual website URLs you want to block.
7. Save the file.
And that’s it! The websites you listed are now blocked. If you try to open them in any browser, they won’t load.
To unblock a website:
If you ever want to regain access to a blocked site, just reopen the hosts file and delete the line containing that website’s URL. Then, save the file again.
Why This Works:
The hosts file is used to map hostnames to IP addresses. By directing the specified websites to 127.0.0.1
(your localhost), you’re telling your system that those websites should be redirected to your own computer instead of their actual servers, effectively blocking them.
Final Thoughts:
This is a simple, efficient way to block websites without needing any additional software. It’s particularly useful if you want to control access to certain sites on a shared computer.
If you have any questions or need further assistance, feel free to comment below. Don’t forget to share this post if you found it helpful! 😊