C Languages Interview Questions

1. Which year C language is developed?
  C programming languages was developed at Bell Laboratories in 1972 by Dennis Ritchie.
 
Your Name Your Email-ID
Your Answer
2. What is C language?
 
  • C language is a structure/procedure oriented, middle level programming language developed at Bell Laboratories in 1972 by Dennis Ritchie.
  • C language was invented for implementing UNIX operating system.
  • In 1978, Dennis Ritchie and Brian Kernighan published the first edition "The C Programming Language".
  • Also, C language is an ANSI/ISO standard and powerful programming language for developing real time applications.
 
Your Name Your Email-ID
Your Answer
3. What is pragma in C?
 
  • #pragma is a pre processor macro in C.
  • It is used to call a function before and after main function in a C program.
 
Your Name Your Email-ID
Your Answer
4. What is header file in C language?
 
  • Header file is a file that contains functions declaration and macro definition for C in built library functions.
  • All C standard library functions are declared in many header files which are saved as file_name.h.
  • We are including these header files in our C program using "#include" command to make use of the functions those are declared in the header files.
  • When we include header files in our C program using "#include" command, all c code of the header files are included in C program. Then, this C program is compiled by compiler and executed.
 
Your Name Your Email-ID
Your Answer
123456789101112


131415 Page 1 of 15