#include stdlib.h#include stdio.h#include math.hvoid main( int argc, char *argv[] ){int x,y;div_t div_result;printf("input x y:");scanf("%d%d",x,y);printf( "x is %d, y is %d/n", x, y );div_result = div( x, y );printf( "The quotient is %d, and the remainder is %d/n",div_result.quot, div_result.rem );//x/y的商和余数}

include "insert_delete.h"这个头文件是什么啊

参考答案与解析:

相关试题

#include"reg52.h"是什么意思?

就是包包含reg52.h这个的头文件include"reg52.h"是什么意思?

  • 查看答案
  • 为什么使用了头文件卫士,c£«£« 两个头文件相互包含仍不可以?

    你看看是不是头文件定义里有#ifndef xxx #define xxx .....#endif那个XXX是不是两个头文件一啊?两个头文件里估计有定义冲突。有可能是的某一个头文件(A)里带了#include 另一个头文件,然后另一个文件(B)跟里面有冲突吧。为什么使用了头文件卫士,c£«£« 两个头文件相互包含仍不可以?

  • 查看答案
  • dprintf函数包含的头文件是什么?

    [试题]dprintf函数包含的头文件是什么?

  • 查看答案
  • 有下面程序段#include"stdio.h"#include"string.h

    [单选题]有下面程序段 #include"stdio.h" #include"string.h" main() { char a[3][20]={{"china"},{"isa"},{"bigcountry!"}}; chark[100]={0},*p=k; int i; for(i=0;i<3;i++) {p=strcat(p,a[i]);} i=strlen(p); printf("%d/n","i);} 则程序段的输出结果是A.18B.19C.20D.21

  • 查看答案
  • 有下面程序段 #include "stdio.h" #include "stri

    [单选题]有下面程序段#include "stdio.h"#include "string.h"main(){ char a[3][20]={{"china"},{"isa"},{"bigcountry!"}};char k[100]={0},*p=k;int i;for(i=0;i<3;i++){ p=strcat(p,a[i]);}i=strlen(p);printf("%d/n",i);}则程序段的输出结果是A.18B.19C.20D.21

  • 查看答案
  • 有下面程序段 #include "stdio.h" #include "stri

    [单选题]有下面程序段#include "stdio.h"#include "string.h"main(){ char a[3][20]={{"china"},{"isa"},{"bigcountry!"}};char k[100]={0},*p=k;int i;for(i=0;i<3;i++){ p=strcat(p,a[i]);}i=strlen(p);printf("%d/n",i);}则程序段的输出结果是A.18B.19C.20D.21

  • 查看答案
  • 有下面程序段 #include "stdio.h" #include "stri

    [单选题]有下面程序段#include "stdio.h"#include "string.h"main( ){ char a[3][20]={{"china"},{"isa"},{"bigcountry!"}};char k[100]={0},*p=k;int i;for(i=0;i<3;i++){p=strcat(p,a[i]);}i=strlen(p) ;printf("%d/n",i);}则程序段的输出结果是A.18B.19C.20D.21

  • 查看答案
  • 有如下程序段#include "stdio.h"#include "string

    [单选题]有如下程序段#include "stdio.h"#include "string.h"#define N 10#define M 10char *find(char(*a)[M],int n){ char *q;int i; q=a[0]; for(i=0;i<n;i++) if(strcmp(a[i],q)<0)q=a[i]; return q;}main(){ char s[N][M]={"tomeetme","you","and","he","chin

  • 查看答案
  • 有下列程序: #include #include "string.h" voi

    [单选题]有下列程序: include include "string.h" void tim(char *s[],int n)有下列程序: #include <stdio.h> #include "string.h" void tim(char *s[],int n) { char *t;int i,j; for(i=0;i<n-1;i++) for(j=i+1;j<n;j++) if(strlen(s[i])>strlen(s[j])) {t=s[i];s[i]=s[j];s[j]=t;}

  • 查看答案
  • 有下列程序: #include #include "string.h" voi

    [单选题]有下列程序: include include "string.h" void tim(char *s[],int n)有下列程序: #include <stdio.h> #include "string.h" void tim(char *s[],int n) { char *t;int i,j; for(i=0;i<n-1;i++) for(j=i+1;j<n;j++) if(strlen(s[i])>strlen(s[j])) {t=s[i];s[i]=s[j];s[j]=t;}

  • 查看答案
  • #include "insert_delete.h"这个头文件是什么啊