Skip to content
Monday, June 16, 2025
Latest:
  • Computer Networks 2024 – BSc Computer Science Part 3
  • Design And Analysis Of Algorithm 2024 – BSc Computer Science Part 3
  • Introduction To Database Management System 2024 – BSc CS Part 3
  • Introduction To Computer Graphics 2024 – BSc Computer Science Part 3
  • UNIX And Shell Programming 2023 – BSc Computer Science Part 3
EASTER SCIENCE

  • News
    • General
    • Technology
    • Gadgets
  • Videos
    • YouTube Videos
    • TOP VIDEOS
  • Exam Papers
    • MCA
    • B.Sc. CS
      • First Year
      • Second Year
      • Third Year
  • Contact Us
  • Ask a Question
  • Questions & Answers
C languageProgramming

40-Write a program to swap the two numbers using function.

September 14, 2018 Lokesh Kumar 290 Views 0 Comments Programs

Program: 40

Write a program to swap the two numbers using function.

Output:

Enter the value of a= 6
Enter the value of b= 54


The value of a is 54.
The value of b is 6.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to print (Opens in new window) Print
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest

Like this:

Like Loading...
  • 39-Write a C program to display the functions of pointer.
  • 41-Write a program to find the factorial of a number.

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

You May Also Like

37-Write a C program to display the trigonometry functions.

September 14, 2018 Lokesh Kumar 0
Write a C function to evaluate the series

Q13 Write a C function to evaluate the sin(x) series.

September 5, 2020 Lokesh Kumar 0
Any Integer is input through the keyboard. Write a program to find out whether it is an odd number or even number.

Q2 Any Integer is input through the keyboard. Write a program to find out whether it is an odd number or even number.

January 18, 2020 Lokesh Kumar 0

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.







Subscribe our Newsletter

Enter your email address to receive notifications of new posts by email.

Join 2,866 other subscribers




About Us

EASTERSCIENCE
"EASTER SCIENCE" was founded in 2017.
CEO & Founder
Mr. LOKESH KUMAR
We are providing you best and latest tech & gadgets news. Our main motive is to provide a way to every person for sharing their products and services's information with us and we will share it globally.

Subscribe Us

Useful Links

  • Home
  • Contact Us
  • About Us
  • FAQ
  • Terms and Conditions
Copyright © 2025 EASTER SCIENCE. All rights reserved.
%d