Loading...

C Multiple Choice Questions

Our C questions and answers focuses on all areas of C programming language covering 100+ topics in C

C Fundamentals-1 MCQs

C Fundamentals Page-3


1. C language was invented to develop which Operating System.?

a) Android
b) Linux
c) Unix
d) Windows



2. C language was invented in the year.?

a) 1972
b) 1973
c) 1972
d) 1990



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

a) -32768 to 32767
b) 3.4e38 to 3.4e38
c) -32767 to 32768
d) -32668 to 32667



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

a) A compiler
b) An operating system
c) An operating system
d) None of these.



5. C language is used in the development of .?

a) Databases
b) Graphic applications
c) Word Processors
d) All of the these.



6. Standard ANSI C recognizes ______ number of keywords?

a) 32
b) 36
c) 30
d) 40



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

a) auto
b) case
c) main
d) default



8. A C variable cannot start with

a) A number
b) A special symbol other than underscore
c) Both a & b
d) An alphabet



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

a) _algbly
b) 1algbly
c) alg_bly
d) algbly1



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

main() 
{
    printf("\\nal");
    printf("\\bgb");
    printf("\\rly");
}

a) algbly
b) 1agbly
c) lyagb
d) None of these



- Related Topics