Basic in C Online Test

An array of pointer is same as?


Scanf() function is used for readind?


C allows 3 ways transfer of control with the help of?


The statement that transfer control to the beginig of the loop is called?


Number of argument supplied from the command line, by convention, is known as?


If an array is used as a function argument, the array is passed?


The function fprintf is used in the program?


The machine registers are sometimes called as?


Recursion is sometimes called?


The directive that can be used to test whether an expression evaluates to a non zero value or not is?


What wil be the output of the following program?

int main()

{

int a=300,b,c;

if(a>=400)

b=300;

c=200;

printf("%d%d\n",b,c);

return 0;

}


What will be the output of the following program?

int main()

{

int x=10,y=20;

if(x==y)

printf("%d%d",x,y);

return 0;

}


int main()

{

int x=3,y,z;

y=x=10;

z=x<10;

printf("x=%dy=%dz=%d\n",x,y,z);

return 0;

}


int main()

{

int k=35;

printf("%d%d%d\n",k==35,k=50,k>40);

}

What is the output?













































Description:

Try to answer atleast 45 to 50% of the questions. These questions are based on basics of C programing and is very simple to answer. This simple questions are asked in technical round in some of the campus interview which most of the students fail to answer. this questions refreshes you the bascis of c language.

Discussion

Puja

It was helpful

1757 days 5 hours 50 minutes ago

That Man Over There

Watch out the grammar and spelling.

1973 days 18 hours 46 minutes ago

Akbond

nice :)

2447 days 14 hours 6 minutes ago

Bhargavi Raghu
Get updated in the field of information technology
User
3 Followers
Tests: 2

Your Facebook Friends on WizIQ

More Tests By Author

Programming in c
16 Questions | 429 Attempts