Site icon FreshersHome

subex systems paper

I am Amit kumar writing Subex placement paper for u guies. It is one of most tuffest exam i attend on C..

20 Q in 30 min and 1 C progarm.

1.
#  define  _LINE_ 10
main()
{
return  _LINE_ ;
}
tell  out the out put.
a  . 10.     b . error.

2.
main()
{
int  i =0;
if(i++,i)
{
printf(“HElo”);
}
else
{
}
}
wat is the output..
a it  complier  dependent   b..  error.

3.
main()
{
struct  {
char * sd;
int  dsd;
int  dfsda;
union {
char  dsd;
float  * dsfs;
}U;
}stack[10];
prinft(“%d”,sizeof(stack));
a. 200;    b 16.   c  20.   d.160;

remaing Question are very tuff u have to prepare for pionter in C only with fuda clear for const pointer…
cost pointer  fuction …
sorry i forget coz vry big and commplex too..

Exit mobile version