Technical preparation

CSE MCQ

21. What is the output of the following 'C' program? main() { extern int a; printf("\n%d",a); } int a=20;

22. What is the output of the following 'C' program? main { extern int i; i = 20; print("%d",size of (i)); }

23. The C declaration int b [100]; reserves ____________ successive memory locations,each large enough to contain single integer.

24. If a is an unsigned integer variable whose value is hx6db7, what is the value of -a?

25. In case of ordinary int variables

26. The declarations typedef float hight [100]; height men, women;

27. The statement # include < math.h> is written at the top of a program to indicate

28. A static variable

29. Consider the following statement #define hypotenuse (a, b) sqrt (a*a + b*b); The macro-call hypotenuse (a + 2, b + 3);

30. The rule for implicit type conversion in 'C' is

31. The variables which can be accessed by all modules in a program, are called

32. C programming language by itself provides

33. C programming language provides operations which deal directly with objects such as

34. In C programming language, if the first and the second operands of operator + are of types int and float, respectively, the result will be of type

35. The value of ab if ab & 0 x 3f equals 0 x 27 is

36. If the declaration unsigned c:5; is replaced by unsigned : 6; then

37. int i = 5; is a statement in a C program.

38. The program fragment int i = 263 ; putchar (i) ; prints

39. Printing a character as an integer

40. Which of the following 'C' type is not a primitive data structure?