Q. The following symbol may ( in certain. circumstances) be taken as an equivalent. of: ??-
Ans:- a tilde
Q. If a function does not return to its invoker, is should be declared with the following. specifier:
Ans:- _Noreturn_
Q. The use of telegraphs may be necessary if:
Ans:- Ther encoding system used by your hardware doesn't contain some of the needed symbols
Q. The atexit() function:
Ans:- may be invoked more than once
Q. The _func_ symbol is a:
Ans:- preprocessor symbol
Q. Hardware using little Indian representation will store a 16-bit long int value equal to 17 as ( byes at lower addresses are presented first, all bytes in hex ):
Ans:- 11 00
Q. Sn empty pair of parentheses put in a function declaration denies that the function: void f(int n, int m) {return n * m;}
Ans:- may be invoked with any number of arguments
Q. The term"EBCDIC" refers to data of type:
Ans:- char
Q. Which of the following statement is true?
Ans:- trigrahs are recognized inside during literals, but digraphs aren't
Q. Values of _Bool data type behave as:
Ans:- unsigned ints
Q. Using the older style of function declaration ( as below) is: float sinf(x) float x; { ... }
Ans:- very risky ad the compiler checks neither the number of arguments nor their types
Q. The size of the following structure is:
Struct struv {
char a;
double b;
};
Ans:- equal to or greater than sizeof (char) + sizeof (double)
Q. The following statement:
% : include <studio.h>
Ans:- contains a digraphs
Q. If the compiler conforms to the ISO standard, it's preprocessor defines a symbol named:
Ans:- _STDC_
Q. The two following declarations of the main() finction:
int main (void) { ... }
int main () { ... }
Ans:- aren't equivalent and the latter is highly recommended
Q. The result of the following expression:
int n = 'z' 'a' ;
Ans:- depends on the encoding system used by a specific hardware platform
Q. Which of the given examples is an older equivalent of the following function declaration?
void f (int n, int m) { return n * m;}
Ans:- void f (n,m) int n; int m; { return n * m; }
Q. The following symbol may be taken as an equivalent of:
<:
Ans:- a bracket
Q. The _Pragma keyword may be used in ther following syntax context:
Ans:- _Pragma ( string_literal )
4 Comments
Super 👌🏻👌🏻 keep it up 👍🏻
ReplyDeleteWahh
ReplyDeleteVery Helpful
ReplyDeleteKeep it up Ashish
ReplyDelete