C Programming MCQ - About and History

11.Which of these is true about embedded C?
i)Embedded C is the extension of C programming language
ii)Embedded C is used to develop micro controller based applications.
iii)Embedded C includes features not available in normal C like fixed-point arithmetic, named address spaces, and basic I/O hardware addressing.

A.Only i & ii
B. Only i & iii
C. Only ii & ii
D. All of the above

View Answer


12.C can be used on?

A.Only MS-Dos operating System
B. Only Linux operating system
C. Only Windows operating system
D. All of the above

View Answer


13. Which is not a character Of C?

A. $
B. ^
C. -
D. |

View Answer


14. Which is true in case of ANSI C?

A. Comments are represented in /* and */
B. Nested comments are not allowed
C. Comments are not allowed within a string constant
D. Nested comments are allowed

View Answer


15.Identify the wrong Statement?

A. #define /* symbolic constant */ Max 100
B. int /*declaration*/ a,b;
C. char c1,c2;
D. #define MAX 25;

View Answer


16.Identify the correct statement?

A. The variable names VOLUME and volume are identical
B. The variable names sun and sun are identical
C. Variables are not declared before use
D. Variable may he absent in a declaration.

View Answer


17. An escape sequence commence with

A. \
B. /
C. ?
D. #

View Answer


18. Identify the wrong statement?

A. # define is a preprocessor facility.
B. # define aids in modifying a constant value throughout the program.
C. # define uses a statement terminator.
D. # define improves the readability of the program.

View Answer


19. Where does the execution of every C program starts?

A. Every C program starts in the main () function.
B. Every C program starts in the begin ( ) function.
C. Every C program starts in the initialize ( ) function.
D. Every C program starts in the start ( ) function.

View Answer


20. Identify the separator(s) in C?

A. white space character
B. Comments
C. Semicolon
D. Both A and B

View Answer







Also Check :


Discussion


* You must be logged in to add comment.