iSoft Placement: Sample Questions 7 - 9 of 10

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 7

Edit

Appeared in Year: 2004

Write in Short

Short Answer▾

Parameters in C are passed by________

Explanation

  • Parameters in c passed by value- C does not support pass by reference, however it can be emulated using pointers.
  • A single value is passed to a function via an actual argument is copied into the function.
  • So, the value of the corresponding formal argument can be altered within the function, but the value of the actual argument within the calling routine will not change.

Question 8

Edit

Appeared in Year: 2004

Describe in Detail

Essay▾

Sizeof operator is executed during________

Explanation

  • Sizeof is used in the C programming language as compile time unary operator to compute the size of its operand.
  • The result of sizeof is of unsigned integral type usually denoted by size_t.
  • Sizeof can be applied to any data-type, including primitive types - integer and floating-point types, pointer types.

Question 9

Edit

Appeared in Year: 2004

Describe in Detail

Essay▾

Short int is ________

Explanation

bits.

  • The size of short int (signed or unsigned) is 2 bytes or 16 bits.
  • Signed and Unsigned differs only in the range of the value.
  • Signed short int ranges from to .
  • Unsigned short ranges from .
  • The maximum signed bit integer is

Developed by: