Time Left - 08:00 mins
ISRO Quiz 2023 18
Attempt now to get your rank among 50 students!
Question 1
Consider the following C code:
The output of the above code is ______.
Question 2
What will be the output of following code:
int main()
{
int a = 10;
printf("%o %x", a, a);
return 0;
}
Question 3
Consider the following program:
#include<stdio.h>
int main()
{
char *s= ''Hello,"
"world!";
printf("%s",s);
return 0;
}
Question 4
Consider the following C function:
int f(int n)
{
static int result = 0;
if(n <= 1)
return 1;
else
result += f(n/3);
return result;
}
What is the output of the above function if n = 6 is passed?
Question 5
Look at this series: 25, 25, 37, 37,___, 51, ...What number should fill the Blank?
- 50 attempts
- 0 upvotes
- 0 comments
Dec 5GATE & PSU CS