Welcome to UrbanPro


Search from over 6,50,000+ Tutors, Trainers and Training Institutes

What do you want to learn?

No Matching Category Found x

Please select a Categoryx

Where do you need it?

Please select a Locationx

How UrbanPro works

Post your requirement

Get customized responses

Compare & hire smartly

Find best Tutors, Trainers & Training Institutes for your requirement on India's Favourite Learning Destination.

Post your Requirement
Trending Discussions

Show previous answers


Mandeep Das replied | 3 days ago

Step-by-step explanation:

  1. Declare three variables.
  2. Assign the value of the first variable in temp.
  3. Then assign the value of the second variable into the first variable.
  4. Finally, assign the value of the temp variable into the second variable.

Let’s declared three variables temp, a and b—code logic to swap two numbers using the third variable.

  1. //Logic to swap two numbers using third variable
  2. temp = a;
  3. a = b;
  4. b = temp;

C Program to swap two numbers without using the third variable:

  • Swap two numbers using a pointer
  • Swap two numbers using bitwise XOR operator

We have understood how to swap two numbers using third variable. Let’s write a c code to implement them.

#include <stdio.h>

int main(void) // Variable declaration


int a, b, temp;

printf("Enter two numbers a and b ");

scanf("%d %d", &a, &b); 

// Swap logic

temp = a;

a = b;

b = temp;

printf("\n After swapping \na = %d\nb = %d\n", a, b);

return 0;



Nishtha Kareer replied | 3 days ago

import java.util.*;
class Swap
public static void main(String a[])
System.out.println("Enter the value of x and y");
Scanner sc = new Scanner(System.in);
/*Define variables*/
int x = sc.nextInt();
int y = sc.nextInt();
System.out.println("before swapping numbers: "+x +" "+ y);
x = x + y;
y = x - y;
x = x - y;
System.out.println("After swapping: "+x +" " + y);


Show previous answers


Shravani M replied | 3 days ago

You can do it but under the guidance of a yoga trainer. Asanas that strengthen the knee without putting pressure on them should be practised. Join a yoga class and start a regular practice. It will not only keep you fit, but your knee problem will also be alleviated.

Pratheep S replied | 3 days ago

Yes, 100%, but we should see their body condition first. Then only we can give them correct asanas for old age people.


Show previous answers

Gouri Kar replied | 3 days ago

Go for SAP HCM.

Gorishaa Mehta replied | 3 days ago

HCM module would be the best in your case.


Thousands of experts Tutors, Trainers & other Professionals are available to answer your questions

Ask a Pro

How UrbanPro works for Tutors and Trainers

Create Free Profile

Upload Photos, Portfolio, Certificates, Add Description, Qualification, Achievements to Help students Discover You

Connect with Students

Respond to Enquiries or Search Prospective students in Your Location

Grow Your Credentials

Collect Reviews, Enrich your Profile & Reach out to more students

Reach out to more students

Create your profile now

Find Tutors, Trainers & Institutes near you

Post requirement and connect with the tutors in your locality

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Want to learn something New?

Find best tutors, trainers & institutes near you on UrbanPro

Post your learning requirement

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more