QN Set

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

int i = 3, *j, **k , ***l;

j = &i;
k = &j;
l = &k;
printf("%d\n",*j);
printf("%d\n",*k);
printf("%d\n",**k);
printf("%d\n",*l);
printf("%d\n",**l);
printf("%d\n",***l);

**************************
int a = 5;
switch(a)
{
case 5:
a=a+1;
}
printf("%d",a);
*****************************
/*
int arr[] = {10,20,30,40,50,60,70};
int *i, *j;
i= &arr[1];
j= &arr[2];
printf("%d%d\n",j-i,*j-*i);
*/
*************************************
//int a[10][20][30] = {0};
//a[5][2][1] = 2;
//printf("%d",*(((a+5)+2)+1));
//printf("%d",***((a+5)+2)+1);
//printf("%d",*(*(*(a+5)+2)+1));
*******************************************
int a = 2 , b=5;
a=a^b;
b=a^b;

printf("%d%d",a,b);

You might also like