Home / C Programming / C Fundamentals :: C Fundamentals

C Programming :: C Fundamentals

  1. Who is father of C Language?

  2. A.

     Bjarne Stroustrup

    B.

     James A. Gosling

    C.

     Dennis Ritchie

    D.

     Dr. E.F. Codd


  3. C Language developed at _________?

  4. A.

     AT & T's Bell Laboratories of USA in 1972

    B.

     AT & T's Bell Laboratories of USA in 1970

    C.

     Sun Microsystems in 1973

    D.

     Cambridge University in 1972


  5. For 16-bit compiler allowable range for integer constants is ________?

  6. A.

     -3.4e38 to 3.4e38

    B.

     -32767 to 32768

    C.

     -32668 to 32667

    D.

     -32768 to 32767


  7. C programs are converted into machine language with the help of

  8. A.

     An Editor

    B.

     A compiler

    C.

     An operating system

    D.

     None of these.


  9. C was primarily developed as

  10. A.

     System programming language

    B.

     General purpose language

    C.

     Data processing language

    D.

     None of the above.


  11. Standard ANSI C recognizes ______ number of keywords?

  12. A.

     30

    B.

     32

    C.

     24

    D.

     36

    E.

     40


  13. Which one of the following is not a reserved keyword for C?

  14. A.

     auto

    B.

     case

    C.

     main

    D.

     default

    E.

     register


  15. A C variable cannot start with

  16. A.

     A number

    B.

     A special symbol other than underscore

    C.

     Both of the above

    D.

     An alphabet


  17. Which one of the following is not a valid identifier?

  18. A.

     _examveda

    B.

     1examveda

    C.

     exam_veda

    D.

     examveda1


  19. What will be printed after execution of the following program code?

    main()

    {

    printf("\\nab");

    printf("\\bsi");

    printf("\\rha");

    }

  20. A.

     absiha

    B.

     asiha

    C.

     haasi

    D.

     hai

    E.

     None of these