Time Left - 10:00 mins
Campus Recruitment Tech Quiz-13
Attempt now to get your rank among 265 students!
Question 1
Find the output of the following program.
main( )
{
extern int i;
i = 20;
pirntf(“%d”, i);
}
main( )
{
extern int i;
i = 20;
pirntf(“%d”, i);
}
Question 2
What will be the output of the following C program segment?
char inChar = ‘A’ ;
switch ( inChar ) {
case ‘A’ : printf (“Choice A\ n”) ;
case ‘B’ :
case ‘C’ : printf (“Choice B”) ;
case ‘D’ :
case ‘E’ :
default : printf ( “ No Choice” ) ; }
char inChar = ‘A’ ;
switch ( inChar ) {
case ‘A’ : printf (“Choice A\ n”) ;
case ‘B’ :
case ‘C’ : printf (“Choice B”) ;
case ‘D’ :
case ‘E’ :
default : printf ( “ No Choice” ) ; }
Question 3
Consider the following C program segment.
What will be printed by the program?
What will be printed by the program?
Question 4
Which of the following algorithm(s) shows minimum time complexity to sort the array in best case ?
Question 5
Which of the following is aggregate function in SQL?
- 265 attempts
- 2 upvotes
- 1 comment
Tags :
GATE & PSU CSGeneralMay 21GATE & PSU CS