Tuesday, 14 August 2012

C Viva ques

                                                          C viva questions

 1.Who developed C language?
2.How do you make comments in C program?
3.How the name C is derived?
4.What is K & R C?
5.What is preprocessor statement?



6.Differentiate between constant and variable.
7.What is data type?
8.Name the basic data types of C
.9.Differentiate between string constant and character constant.
10.What is the range of integer, char, float for a 16-bit computer?
11.What is a statement?
12.What is a keyword?
13.Differentiate between keywords and identifiers.
14.What is the need for an escape sequences?
15.What is a symbolic constant?
16.How do you classify C operators?
17.What is the use of modulus operator?
18.What is meant by mixed mode operation?
19.What are bitwise operators?
20.What is unary operator?
21.What is binary operator?
22.What is typecasting?
23.What is a conditional / ternary operator?
24.What is need for type conversion?
25.Differentiate between && and &.
26.Differentiate between pre-increment/decrement & post-increment/decrement
.27.Differentiate between Unformatted and formatted i/o statements.
28.How do you classify the control statements?
29.Differentiate between while and do-while loop.
30.Differentiate between break and continue
31.When do you prefer for loop statement?
32.What is looping?
33.What is an array?
34.Give the classification of arrays?
35.Differentiate between an array and an ordinary variable
.36.Array variable is also called as ______.
37.What are character arrays?
38.When do you use two-dimensional character array?
39.Name the different string handling functions?
40.What is meant by modularization?
41.Differentiate between standard functions & user-defined functions?
42.Differentiate between arguments and parameters.
43.Differentiate between local and global variables.
 44.Name the different methods of parameter passing?
45.How does the function definition differ from function declaration?
46.What is recursive function?
47.What is meant by scope of a variable?
48.What is a structure?
49.Differentiate between array and structure
.50.What are embedded structures?
51.How do you access the member of a structure?
52.What is union?
53.Differentiate between union and structure.
54.What is a pointer?
55.Differentiate between address operator and dereferencing operator.
56.How do you declare a pointer variable

0 comments:

Post a Comment