Similar Collections


    No collections found

questions

Title
Who is father of C Language?

Who is father of C Language?


  1. bjarne stroustrup
  2. dennis ritchie
  3. james a. gosling
  4. dr. e.f. codd
discuss
C Language developed at _____?

C Language developed at _____?


  1. at & t's bell laboratories of usa in 1972
  2. at & t's bell laboratories of usa in 1970
  3. sun microsystems in 1973
  4. cambridge university in 1972
discuss
For 16-bit compiler allowable range for integer constants is ______ ?

For 16-bit compiler allowable range for integer constants is ______ ?


  1. -3.4e38 to 3.4e38
  2. -32767 to 32768
  3. -32768 to 32767
  4. -32668 to 32667
discuss
C programs are converted into machine language with the help of

C programs are converted into machine language with the help of


  1. A. an editor
  2. B. a compiler
  3. C. an operating system
  4. D. none of the above
discuss
A C variable cannot start with

A C variable cannot start with


  1. A. an alphabet
  2. B. a number
  3. C. a special symbol other than underscore
  4. D. both (b) and (c)
discuss
Which of the following is allowed in a C Arithmetic instruction

Which of the following is allowed in a C Arithmetic instruction


  1. A. []
  2. B. {}
  3. C. ()
  4. D. none of the above
discuss
What is right way to Initialization array?

What is right way to Initialization array?


  1. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
  2. int n{} = { 2, 4, 12, 5, 45, 5 } ;
  3. int n{6} = { 2, 4, 12 } ;
  4. int n(6) = { 2, 4, 12, 5, 45, 5 } ;
discuss
An array elements are always stored in _________ memory locations

An array elements are always stored in _________ memory locations


  1. sequential
  2. random
  3. sequential and random
  4. none of the above
discuss
What is the right way to access value of structure variable book{ price, page }?

What is the right way to access value of structure variable book{ price, page }?


  1. printf("%d%d", book.price, book.page);
  2. printf("%d%d", price.book, page.book);
  3. printf("%d%d", price::book, page::book);
  4. printf("%d%d", price->book, page->book);
discuss
perror( ) function used to ?

perror( ) function used to ?


  1. work same as printf()
  2. prints the error message specified by the compiler
  3. prints the garbage value assigned by the compiler
  4. D. none of the above
discuss
Bitwise operators can operate upon?

Bitwise operators can operate upon?


  1. double and chars
  2. floats and doubles
  3. ints and floats
  4. ints and chars
discuss
What is C Tokens?

What is C Tokens?


  1. the smallest individual units of c program
  2. the basic element recognized by the compiler
  3. the largest individual units of program
  4. a & b both
discuss
What is Keywords?

What is Keywords?


  1. keywords have some predefine meanings and these meanings can be changed.
  2. keywords have some unknown meanings and these meanings cannot be changed.
  3. keywords have some predefine meanings and these meanings cannot be changed.
  4. none of the above
discuss
What is constant?

What is constant?


  1. constants have fixed values that do not change during the execution of a program
  2. constants have fixed values that change during the execution of a program
  3. constants have unknown values that may be change during the execution of a program
  4. none of the above
discuss
Which is the right way to declare constant in C?

Which is the right way to declare constant in C?


  1. int constant var =10;
  2. int const var = 10;
  3. const int var = 10;
  4. b & c both
discuss
Which operators are known as Ternary Operator?

Which operators are known as Ternary Operator?


  1. ::, ?
  2. ?, :
  3. ?, ;;
  4. none of the above
discuss
In switch statement, each case instance value must be _______?

In switch statement, each case instance value must be _______?


  1. constant
  2. variable
  3. special symbol
  4. none of the above
discuss
What is the work of break keyword?

What is the work of break keyword?


  1. halt execution of program
  2. restart execution of program
  3. exit from loop or switch statement
  4. none of the above
discuss
What is function?

What is function?


  1. function is a block of statements that perform some specific task.
  2. function is the fundamental modular unit. a function is usually designed to perform a specific task.
  3. function is a block of code that performs a specific task. it has a name and it is reusable
  4. all the above
discuss
Which one of the following sentences is true ?

Which one of the following sentences is true ?


  1. the body of a while loop is executed at least once.
  2. the body of a do ... while loop is executed at least once.
  3. the body of a do ... while loop is executed zero or more times.
  4. a for loop can never be used in place of a while loop.
discuss
total MCQs: 50

MCQs

50

Views

291

Best Answers

299

Points

5