Online Test for C
- Find Error/Output in follwing code:
void main()
{
int x=10,*y,**z;
y=&x;
z=&y;
printf(\"%d%d%d\",*y,**z,*(*z));
}
101010
100xaa54f10
Run time error
No Output
- Blank spaces may be inserted between two words to improve the readability of the statement.
TrueFalse
- Which of the following search algorithm requires a sorted array?
Linear searchHash searchBinary searchAll of these
- A zero value is considered to be false and a non-zero value is considered to be true.
TrueFalse
- Find Error/Output in follwing code:
int main ()
{
int x = 20, y = 35;
x = y++ + x++;
y = ++y + ++x;
printf ("%d %d n", x, y);
}
55 92
56 93
57 94
None of the above
- The worst case time complexity of AVL tree is better in comparison to binary search tree for
Search and Insert OperationsSearch and Delete OperationsInsert and Delete OperationsSearch, Insert and Delete Operations
- Which data structure type is NOT linear from the following?
Doubly Link List2D ArrayBinary Search TreeQueue
- Which is an invalid name of identifier?
worldaddition23test-namefactorial
- The "C" language is
Context free languageContext sensitive languageRegular languageNone of the above
Also Exercise
Post Your Question
Social Sharing
Facebook
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015