Question Detail

Out of following program :
float x = 10.7;
int i;

i = (int) x;
print i;

  • null
  • error
  • 10
  • garbage value
Similar Questions :

1. UML meaning is

  • Unique modeling language
  • Unified modeling language
  • Unified modern language
  • Unified master laqnguage

2. A variable in c

  • must have a valid datatype
  • can't have a name same as keyword
  • must have a name starting with a character
  • All of above

3. total number of keywords in C are

  • 30
  • 32
  • 48
  • 132

4. What is use of \r in c

  • used to insert a vertical tab
  • used to insert a tab
  • places cursor at the end of line
  • places cursor at the start of line

5. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above
Read more from - C Programming Questions Answers - Chapter 1