In a sense it is possible, e.g., you declare an array of two elements and swap the elements, or you declare a variable of a struct type that has two members, then you swap the members of the struct...
Type: Posts; User: laserlight
In a sense it is possible, e.g., you declare an array of two elements and swap the elements, or you declare a variable of a struct type that has two members, then you swap the members of the struct...
What do you mean by "get 2 values in a single variable"? A swap between two variables is easily performed with a third variable.