Toggle navigation
Log in
Sign Up
Log in
Sign Up
Appium
C
C#
C++
Docker
Go
Informatica
Java
JavaScript
Kafka
Numpy
Oracle
Pandas
PHP
Python
R
React Native
Scipy
SFTP
Teradata
TGMC
UNIX
Forget_Code.Models.CategoryViewModel
Add a new snippet
Algorithms
13
Applications
5
Arithmetic Operations
2
Array
8
Basics
27
Compiler Design
1
Control Statements
4
Conversion Functions
1
Data Structures
12
Data Type
1
Date Functions
1
File
36
Keywords
1
Loops
1
Math Functions
30
Math Snippets
43
Memory Management
3
Misc
4
Networking
4
Operators
6
Pointers
17
String Functions
30
String Snippets
29
System Software
10
Utility Snippets
1
Choose Category
swapping without variable for turbo c in C
Forget Code
C
swapping without variable for turbo c
#include<stdio.h>
#include<conio.h>
void main()
{
int n,a,b;
clrscr();
printf("enter value of a\n");
scanf("a:-%d\t",&a);
printf("enter value of b\n");
scanf("b:-%d\t",&b);
a=a+b;
b=a-b;
a=a-b;
printf("after swapping a value is :- %d\t",a);
printf("after swapping b value is :- %d\t",b);
getch();
}
Tags for swapping without variable for turbo c in C
swapping in turbo C
swaping in Turboo C
swap variables in turbo c
Contribute to Forget Code, help others.
Add snippet