Question 20 - 40

1
#include<stdio.h>
#include<dos.h>
main(int argc, char *argv[])  
{
    fun();
    getch();
}
fun()
{
int i;
for(i=0;i< argc; i++)
     printf("%s",argv[i]);
}


2
#include<stdio.h>
main()
{
   long long  int i=50;
   i==10000000000;
   printf("i=%d",sizeof(i));
}


3
#include<stdio.h>
#include<assert.h>
int main()
{
   int i=9;
   assert(i-19);
   printf("nHello");
   assert(i-9);
   printf("nHi again");
   return 0;
}

4
#include<stdio.h>
main()
{
  char p[]= "MalayalaM";
  char t;
  int i,j;
  printf("%sn",p);
  for(i=0,j=strlen(pchar);i<=j;i++)
      {
        t=p[i];
	p[i]=p[j-i];
	p[j-i]=t;
	printf("%c ",p[j-i]);
      }
   printf("%s",p);
   return 0;
}

5
#include<stdio.h>
int main()
{
   C()
     {
	c()
	  {
	    printf("what a test ");
	  }
        printf("nIn this hot afternoon");
     }
   return 0;
}