Prev Next
1. 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
Prev Next
More C interview questions and answers:
- What is C language?
- Who developed C language?
- Describe about history of C programming language.
- Where is C programming language used or uses of C language?
- What is the difference between C and C++?
- What is the difference between top down approach and bottom up approach in programming languages?
- What is the difference between C and Java?
- C language has been developed in which language?
- Which year C language is developed?
- What is meant by programming language and give some examples?
- Describe about C standards.
- What are the key features of C language or what are the characteristics of C language?
- What is embedded C?
- Which level is C language belonging to?
- What do you mean by high level, middle level and low level languages and give an example for each?
- What is the difference between structured oriented, object oriented and non-structure oriented programming language?
- What is compiler?
- What is the difference between assembler, compiler and interpreter?
- What is printf()?
- What is scanf()?
- What is meant by protocol?
- Execution of a C program starts from which function?
- What are all the sections that a C program may have and must have?
- What is IDE?
- List out some of C compilers.
- What is header file in C language?
- Is C language case sensitive?
- What is Macro? Why do we use macro?
- What is data type in C?
- What is the difference between int, char, float and double data types?
- What is the use of sizeof() function in C?
- What is modifier in C?
- What are different types of modifiers in C?
- What is enum in C?
- What is void in C?
- What is token in C?
- What are the types of C tokens?
- What is identifier in C?
- What is keyword in C?
- List out some keywords available in C language.
- What is constant in C?
- What are the types of constants in C?
- What is variable in C?
- What is the difference between constant and variable in C?
- Can variable name start with numbers?
- What is the difference between variable declaration and variable definition in C?
- What are the different types of variable in C?
- What is local variable in C?
- What is global variable in C?
- What is environment variable in C?
- What is operator in C?
- What are the different types of operator in C?
- What is the syntax for ternary operator in C?
- What is arithmetic operator in C?
- What is assignment operator in C?
- What is the relational operator in C?
- What is the logical operator in C?
- What is the bitwise operator in C?
- What are all decision control statements in C?
- What are all loop control statements in C?
- What is the difference between while and do-while loops in C?
- What is the difference between single equal “=” and double equal “==” operators in C?
- What is the difference between pre increment operator and post increment operator?
- What is the difference between pre decrement operator and post decrement operator?
- What is “&” and “*” operators in C?
- What will happen if break statement is not used in switch case in C?
- Why is default statement used in switch case in C?
- What is the use of “goto” statement?
- What value will be assigned to the variable X if a = 10, b = 20, c = 30, d = 40 for the expression X = a/b+c*d-c?
- What is the value assigned to the following variables? int X1 = 13/3; int X2 = 13%3;
- What is the difference between auto variable and register variable in C?
- What is the difference between auto variable and static variable in C?
- Where should type cast function not be used in C?
- How many arguments can be passed to a function in C?
- What is static function in C?
- If you want to execute C program even after main function is terminated, which function can be used?
- Is it possible to call atexit() function more than once in a C program?
- What is exit() function in C?
- What is the difference between exit() and return() in C?
- What is the use of “#define” in C?
- What is the syntax for comments in C?
- What is “##” operator in C?
- What is pragma in C? Or how will you execute functions before and after main function in C program?
- How will you override an existing macro in C?
- How to check whether macro is defined or not in a C program?
- What is the difference between memcpy() and strcpy() functions in C?
- What is the difference between memcpy() and memmove() functions in C?
- Is there any inbuilt library function in C to remove leading and trailing spaces from a string? How will you remove them in C?
- What is the difference between strcpy() and strncpy() functions in C?
- Can array subscripts have negative value in C?
- What is the difference between array and string in C?
- What is pointer in C?
- What is null pointer in C?
- What is NULL in C?
- What is void pointer in C?
- What is dangling pointer in C?
- What is wild pointer in C?
- What is file pointer in C?
- When can void pointer and null pointer be used in C?
- What is const pointer in C?
Please click here for more C interview questions and answers