Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

C PROGRAM QUESTIONS : PART 29

Which of the following data structure is linear type?

Strings
Queue
 Lists
All of the above
SHOW ANSWER

The statement printf("%c", 100); will print?

prints 100
print garbage
prints ASCII equivalent of 100
None of the above
SHOW ANSWER

The _______ memory allocation function modifies the previous allocated space.

calloc
free
malloc
 realloc
SHOW ANSWER

Number of binary trees formed with 5 nodes are

30
36
 108
 42
SHOW ANSWER

The "C" language is

Context free language
Context sensitive language
Regular language
None of the above
SHOW ANSWER

The worst case time complexity of AVL tree is better in comparison to binary search tree for

Search and Insert Operations
Search and Delete Operations
Insert and Delete Operations
Search, Insert and Delete Operations
SHOW ANSWER

In which tree, for every node the height of its left subtree and right subtree differ almost by
one?

Binary search tree
AVL tree
Threaded Binary Tree
Complete Binary Tree
SHOW ANSWER

The Default Parameter Passing Mechanism is called as

Call by Value
Call by Reference
Call by Address
Call by Name
SHOW ANSWER

What is Dequeue?

Elements can be added from front
Elements can be added to or removed from either the front or rear
Elements can be added from rear
 None of the above
SHOW ANSWER

In which linked list last node address is null?

Doubly linked list
Circular list
Singly linked list
None of the above
SHOW ANSWER

Which is the correct syntax to declare constant pointer?

int *const constPtr;
*int constant constPtr;
const int *constPtr;
 A and C both
SHOW ANSWER

More C Language Multiple Choice Questions: Click Here
1. What will be the output of the following arithmetic expression ?
5+3*2%10-8*6

-37
 -42
-32
-28
SHOW ANSWER

What will be the output of the following statement ?
int a=10; printf("%d &i",a,10);

error
10
10 10
none of these
SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in