Online C Programming Language Quiz

1) << Operator is used for  ?
  1. Right Shifting
  2. Left Shifting
  3. Bitwise Shifting
  4. Bitwise Complement
Show/Hide Answer
Answer = B
2) The value that follows the keyword CASE may only be ?
  1. Constant
  2. Variable
  3. Semicolon
  4. number
Show/Hide Answer
Answer = A
3) The machine registers are sometimes called ?
  1. Local Variables
  2. Global Variables
  3. Accumulators
  4. Static variable
Show/Hide Answer
Answer = A
4) An array of pointer is same as ?
  1. pointer to array
  2. pointer to pointer
  3. pointer to function
  4. pointer to structure
Show/Hide Answer
Answer =B
5) scanf( ) function can be used for reading ?
  1. double character
  2. single character
  3. multiple character
  4. no character
Show/Hide Answer
Answer = C
6) C allows three way transfer of control with the help of ?
  1. unary operator
  2. relational operator
  3. ternary operator
  4. comparison operator
Show/Hide Answer
Answer =C
7) The statement that transfer control to the beinning of the loop is called ?
  1. break statement
  2. exit statement
  3. continue statement
  4. goto statement
Show/Hide Answer
Answer = C
8) The number of arguments supplied from the command line, by convention, is known as ?
  1. arg c
  2. arg v
  3. #define
  4. #include
Show/Hide Answer
Answer = A
9) If an array is used as function argument, the array is passed ?
  1. by value.
  2. by reference
  3. by name
  4. the array can not be used as function argument
Show/Hide Answer
Answer = B
10) The function fprintf is used in a program ?
  1. When too many printf calls have been already used in the program.
  2. In place of printf, since printf uses more memory
  3. When the output is to be printed on to a file.
  4. When the type of variables to be printed are not known before.
Show/Hide Answer
Answer = C


Do You Like This? Please take 5 seconds to share with your firends.

1 comments:

Unknown said...

Hello, sir i would like to ask that what is the scope of c programming, what all topics should be covered and it is kinda bothering me … and has anyone studied from this course http://www.wiziq.com/course/2118-learn-how-to-program-in-c-language of c programming language online ?? or tell me any other guidance...
would really appreciate help… and Also i would like to thank for all the information you are providing on c programming.

Post a Comment