C Introduction
- What is the first stage of compilation of a C program?
-
View Hint View Answer Discuss in Forum
First step of a compilation process is resolving header files inclusions and macro definitions
Correct Option: C
Compilation has following four stages:-
Preprocessing
compiling
assembling
linking
Preprocessing resolves header file inclusions, macro definitions
- What is a standard library function to read 1 char at a time?
-
View Hint View Answer Discuss in Forum
standard library has several functions for reading and writing one character at a time.
Correct Option: C
gercha reads the next input character from a text stream and returns that as its value.
c = getchar()
- What is the value of character constant 'Á'om ASCII character set?
-
View Hint View Answer Discuss in Forum
Internal representation of alphanumeric character Á
Correct Option: B
ASCII value of A is 65