C Language Interview Preparation Test 2

This Test will cover complete C Language with mixed questions.

Q. The output of this code snippet will be?
main() 
{
    long i = 30000;
    printf("%d", i); 
}
Q. The directive that can be used to test whether an expression evaluates to a nonzero value or not is __________.
Q. What will this code snippet print ?
main() 
{
    printf("%p\n", main());
}
Q. The << operator is used for __________?

Q. The C language includes the standard input & output functions in __________?
Q. The value that follows the keyword CASE may only be __________.
Q. The statement which is used to terminate the control from the loop is __________.
Q. The machine registers are sometimes called __________.
Q. A set of values of the same type, which have a single name followed by an index is called?

Q. An array of pointers is same as __________.
Q. What is the output of the following program segment?
main()
{
    long i = 65536;
    printf("%d\n", i);
}
Q. What is the output of the following program segment?
main()
{
    int i = 1;
    do
    { 
        printf("%d..", i);
    }while(i--);
}
Q. What is the output of the following program segment?
main()
{
  int i = 2;
  printf("%d\n", i++);
}
Q. The name of all functions end with a __________.
Q. A float variable can store any variable within the range of __________.

SUBMIT TEST