C Programming
C Programming

Write a Program to swap the values of two variables.

Write a Program to swap the values of two variables.

 

#include <stdio.h>

#include <conio.h>

int main ()

{

    int a,b,t ;

    printf("Input two number : "); 

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

    

    t = a; 

    a = b; 

    b = t; 




    printf("%d and %d are the swapped numbers.\n" , a , b ); 




    return 0; 

}


Topics Covered :

 

  • find quotient and remainder in c++
  • how to find quotient and remainder in c++
  • c++ program to find quotient and remainder
  • c++ programs
  • c++ programming tutorial
  • c++ programming language
  • programming
  • quotient and remainder in c
  • how to write a calculator program – add
  • c program to make simple calculator
  • learn c programming
  • c programming basics
  • subtraction
  • c programming tutorial
  • c programming
  • division using c language
  • c programming for beginners
  • c language tutorial for beginners
  • calculator program in c
  • calculator program
  • trending
  • multiplication
  • youtube shorts
  • calculator
  • c language
  • shorts

 

 


 

 


 

Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.

Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.

 

🧑‍💻🧑‍💻 Social Media Links of Tech DCode :

👉🏻 YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
👉🏻 Instagram : https://www.instagram.com/thetechdcode/
👉🏻 Facebook Page : https://www.facebook.com/thetechdcode
👉🏻 Twitter : https://twitter.com/thetechdcode
👉🏻 Telegram Channel : https://t.me/thetechdcode
👉🏻 Tech DCode Linktree : https://linktr.ee/thetechdcode
👉🏻 My Personal Handles : https://linktr.ee/virtualshivamin

🧑‍💻🧑‍💻 Social Media Links of SHIVAM SINGH (OWNER) :

👉🏻 Instagram : https://www.instagram.com/virtualshivamin/
👉🏻 Facebook Page : https://www.facebook.com/virtualshivamin/
👉🏻 Twitter : https://twitter.com/virtualshivamin/
👉🏻 Personal Linktree : https://linktr.ee/virtualshivamin 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *