Enable contrast version

# Tutor profile: Raghuveer S.

Inactive
Raghuveer S.
Master of Technology at NIT Trichy
Tutor Satisfaction Guarantee

## Questions

### Subject:Computer Science (General)

TutorMe
Question:

Binary numbers need more places for counting because A. They are always big numbers B. Any no. of 0's can be added in front of them C. Binary base is small D. 0's and l's have to be properly spaced apart

Inactive
Raghuveer S.

Answer:C Binary number take more place as the base is 2. Smaller the base larger the space to store the number. For ex: Decimal->255 Binary->11111111 Octal->377 Hexadecimal->FF

### Subject:C++ Programming

TutorMe
Question:

Print all natural numbers upto N without using semi-colon.

Inactive
Raghuveer S.

#include<iostream> using namespace std; //Written by Raghuveer Singh int N = 10; int main() { static int x = 1; if (cout << x << " " && x++ < N && main()) { } return 0; }

### Subject:C Programming

TutorMe
Question:

Write a basic program to check if a given number is palindrome or not without main function?

Inactive
Raghuveer S.

#include<stdio.h> #define palindrome main //Replaces the palindrome function with main function //Written by Raghuveer Singh int palindrome(){ int num,temp,rev=0; scanf("%d",&num); temp=num; while(temp!=0){ //This loop will store reverse number in rev variable rev=rev*10+temp%10; temp/=10; } if(rev==num) printf("Number is palindrome"); else printf("Numder is not palindrome"); return 0; }

## Contact tutor

Send a message explaining your
needs and Raghuveer will reply soon.
Contact Raghuveer

Start Lesson

## FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.
BEST IN CLASS SINCE 2015
TutorMe homepage