All keywords in C are in

Loading

Practice Basic Concept – All keywords in C are in

What will be output of the following “c” code?

Loading

Practice Basic Concept – What will be output of the following “c” code?


#include
int main(){
printf("%d","abcde"-"abcde");
return 0;
}

Which is true about fputs returns?

Loading

Practice Input / Output – Which is true about fputs returns?

What will be output of the following “c” code?

Loading

Practice Pointers – What will be output of the following “c” code?


#include
int main(){
int i;
static double *p,*q,*r,*s,t=5.0;
double **arr[]={&p,&q,&r,&s};
*p=*q=*r=*s=t;
for(i=0;i<4;i++)
printf("%.0f ",**arr[i]);
return 0;
}

int **ptr; is?

Loading

Practice Pointers – int **ptr; is?

What will be output of the following “c” code?

Loading

Practice Expressions – What will be output of the following “c” code?


#include
int main(){
int x,a=3;
x=+ +a+ + +a+ + +5;
printf("%d %d",x,a);
return 0;
}

Which of the following is a collection of different data types?

Loading

Practice Variable Number of Arguments – Which of the following is a collection of different data types?

What will be output of the following “c” code?

Loading

Practice Variable Number of Arguments – What will be output of the following “c” code?


#include
auto int a=5;
int main(){
int x;
x=~a+a&a+a< printf("%d",x);
return 0;
}

What is the output of this C code?

			  		

Loading

Practice Declarations and Initializations – What is the output of this C code?


#include
int main()
{
short int i;
scanf("%hd", &i);
printf("%hd", i); return 0;
}

What will be output of the following “c” code?

Loading

Practice Control Instructions – What will be output of the following “c” code?


#include
int main() {
int i;
for(i=0;i<5;i++){
int i=10;
printf(" %d",i);
i++;
}
return 0;
}

What is the output of this C code?

			  		

Loading

Practice Structures, Unions, Enums – What is the output of this C code?


#include
typedef struct p *q;
struct p
{
int x; char y; q ptr;
};
int main()
{
struct p p = {1, 2, &p};
printf("%d
", p.ptr->ptr->x);
return 0;
}