#include <stdio.h>
#include <time.h>
int main(/*int argc, char const *argv[]*/)
{
	void * target;
	time_t now = time(NULL);
	if(now & 1)
		target = &&odd;
	else 
		target = &&even;
	goto *target;

odd:
	printf("now is odd second: %ld,NULL=%d\n", now,NULL);
	return 0;
even:
	printf("now is even second: %ld,NULL=%d\n", now,NULL);
	return 0;
}

  

相关文章:

  • 2022-01-14
  • 2021-06-13
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
猜你喜欢
  • 2021-10-21
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案