Question Bank (Problem solving Using C)2022_23
Q.1 Define-
1)compiler 2) Interpreter 3) Linker 4) types of array 5) Array 6) Function 7)Algorithm 8) Pseudo Code 9)Function type 10)Conditional or ternary operator
i) getchar() ii)putchar() iii)puts() iv)printf() v)scanf() vi)gets()
i)isupper() ii)isalpha() iii) isdigit() iv)
Q.6)Answer the following question
1)Explain how can be declare and initialize 2D arrays.
2)Explain
different types of operators available in C.
3)Explain the structure of C program.
4)Define algorithm? write characteristics of algorithm.
5)What is machine language?
6)Define
operator.
7)Explain Comma Operator.
8)Explain ones
complement operator with
example.
9)What is
an identifier ? Give the
rules of identifier.
10)write the Application of arrays and function.
11)Find the
output of the
following program and
justify :
1) main(
){
int
x = 100;
printf (“\n
x = %d”,
10 + x++);
printf (“\n
x = %d”, 10 +
++x);
}
2)
Main( )
{
int a=10,
b=20;
{
int c=30;
printf("%d %d
%d", a, b, c);
}
printf("%d %d
%d", a, b, c);
}
13) Explain any two storage
classes with proper example.
14)C is
middle level language.
Comment.
15)
State different data types.
16)
Who developed ‘C’ language
17)
Explain with example :
(a)
Relational operators(b) Logical
operators(c) Increment operators.(d)Conditional operator
18)Evaluate
the expression
a)a=3/2
* 4 + 3/8
b)a=2*3/4
+ 4/4 + 8 -2 + 5/8
19)List
the different type of Storage class.
Comments
Post a Comment