Time Left - 10:00 mins
IIIT Hyderabad Practice Quiz : Programming-1
Attempt now to get your rank among 574 students!
Question 1
What is the output of the program.?
void myshow();
int main()
{
myshow();
myshow();
myshow();
}
void myshow()
{
static int k = 20;
printf("%d ", k);
k++;
}
Question 2
#include <stdio.h>
Void main (void)
{
Char name [] =”Harry Potter”;
Printf (“%c”,*name);
}
The output of above program is
Question 3
What is the output of the following code?
Question 4
Consider the below given code:
What is the output if the input is GRADEUP TESTSERIES?
Question 5
Consider the following C program:
What sill be the output using static scoping and dynamic scoping respectively?
- 574 attempts
- 1 upvote
- 3 comments
Jun 11GATE & PSU CS