Exam 1: Introduction to C Language

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A variable declared in a function can be used in main().

(Multiple Choice)
4.8/5
(37)

Which operators of the following have same precedence? P. "!=", Q. "+=", R. "<<="

(Multiple Choice)
4.9/5
(37)

By default a real number is treated as a

(Multiple Choice)
4.7/5
(39)

Which of the following is not a valid variable name declaration?

(Multiple Choice)
4.8/5
(44)

Which of the following typecasting is accepted by C?

(Multiple Choice)
4.9/5
(34)

Are logical operator sequence points?

(Multiple Choice)
4.8/5
(37)

Variable name resolution (number of significant characters for the uniqueness of variable) depends on ___________

(Multiple Choice)
4.9/5
(38)

Which of the following is true for variable names in C?

(Multiple Choice)
4.8/5
(43)

While swapping 2 no' what at precautions to be taken care? b = (b / a); a = a * b; b = a / b;

(Multiple Choice)
4.9/5
(39)

In the standard library of C programming language, which of the following header file is designed for basic mathematical operations?

(Multiple Choice)
4.8/5
(33)

Which of the following declaration is not supported by C?

(Multiple Choice)
4.8/5
(44)

When do you need to use type-conversions?

(Multiple Choice)
4.8/5
(38)

Which of the following data type will throw an error on modulus operation(%)?

(Multiple Choice)
4.9/5
(38)

Which data type is most suitable for storing a number 65000 in a 32-bit system?

(Multiple Choice)
5.0/5
(33)

Which of the following is not a pointer declaration?

(Multiple Choice)
4.9/5
(35)

What is the type of the following assignment expression if x is of type float and y is of type int? y = x + y;

(Multiple Choice)
4.9/5
(41)

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

(Multiple Choice)
4.7/5
(29)

Which of the following is not an arithmetic operation?

(Multiple Choice)
4.9/5
(47)

Which of the following is not a valid variable name declaration?

(Multiple Choice)
4.8/5
(34)

Which among the following is NOT a logical or relational operator?

(Multiple Choice)
4.7/5
(40)
Showing 21 - 40 of 48
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)