The ones who are crazy enough to think they can change the world are the ones who do.
- Steve Jobs

Top 100 C Interview Questions

16. What are the types relational operators?

  • Greater than (>)
  • Less than(<)
  • Greater than equal to (>=)
  • Less than equal to (<=)
  • equal to(==)
  • Not equal to (!=)

Refer for More C Relational Operators.

17. What are the Bitwise operators?

  • Right Shift (>>)
  • Left Shift (<<)
  • XOR (^)
  • One's Complement (~)
  • Bitwise OR (|)

Refer for More C Bitwise Operators.

18. What are the Logical operators?

  • Logical OR(||)
  • Logical AND(&&)
  • Logical NOT(!)

Refer for More C Logical Operators.

19. What is the useof sizeof() operator?

Using sizeof() operator, we can identified the size of the variable. While the programmer plays with dynamic memory allocation, the sizeof() operator is the one which is most frequently get used.

20. What is typedef?

In C, the typedef(keyword) allows the programmers to define the new data type name by using existing data types in C. The existing data types are int, char, float, arrays, structures and so on. There is no new data type is produced, rather than a new data type name is created. Once a new data type name is created, then variables, structures, arrays can be declared and initialized in terms of the new data type name. Refer for More C Typedef.

Report Us

We may make mistakes(spelling, program bug, typing mistake and etc.), So we have this container to collect mistakes. We highly respect your findings.

Report