Asked inTCS,fresher

Reversing six digit Number using C

AnswerBot
1y

Reversing a six-digit number using C programming language.

  • Take input of a six-digit number from the user.

  • Extract each digit of the number using modulus operator.

  • Multiply the extracted digit with its r...read more

Tumu Naga Moulika
3y

#include

#include

Void main()

{

Int num,rev_num;

Int b,c,d,e,f,g;

Int b1,c1,d1,e1,f1,g1;

Clrscr();

Printf("enter six digit number");

Scanf ("%d",&num);

b=num-((num/10)*10);

b1=b;

c=...read more

Jyotika Chauhan
4y

654321

Rishikesh Choudhary IBC
5y

654321

Dinesh Mahajan
5y

6

Add answer anonymously...
TCS fresher Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter