代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/444375/7613208
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/444091/7618144
c swap2.c
/*
** Exchange two integers in the calling program.
*/
void
swap( int *x, int *y )
{
int temp;
temp = *x;
*x = *y;
*y = temp;
}
www.eeworm.com/read/444091/7618148
c swap1.c
/*
** Exchange two integers in the calling program (doesn't work!).
*/
void
swap( int x, int y )
{
int temp;
temp = x;
x = y;
y = temp;
}
www.eeworm.com/read/438346/7732571
c swap_state.c
/*
* linux/mm/swap_state.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
* Swap reorganised 29.12.95, Stephen Tweedie
*
* Rewritten to use page cache, (C) 1998 Stephen Tweedie
*/
www.eeworm.com/read/436521/7768583
c swap2.c
/*
** Exchange two integers in the calling program.
*/
void
swap( int *x, int *y )
{
int temp;
temp = *x;
*x = *y;
*y = temp;
}
www.eeworm.com/read/436521/7768588
c swap1.c
/*
** Exchange two integers in the calling program (doesn't work!).
*/
void
swap( int x, int y )
{
int temp;
temp = x;
x = y;
y = temp;
}
www.eeworm.com/read/436250/7773834
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/298428/7961145
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value