
Second Round Quiz
Authored by Thrisha S
Information Technology (IT)
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C Variable name?
Which of the following is not a valid C Variable name?
Int number;
float rate;
int variable_count;
int $main;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an invalid pointer declaration?
int ptr;
int *ptr;
int ptr*;
int* ptr;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C language, FILE is of which data type?
In C language, FILE is of which data type?
int
char
struct
array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid way to access array elements?
Which is a valid way to access array elements?
arr[i]
*(arr + i)
i[arr]
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not Valid In C?
Which of the following is not Valid In C?
int a= 10, b=20;
int a(10);
int a={10};
int a = 10;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
#include <stdio.h>
int main() {
printf("%d", sizeof('A'));
return 0;
What will be the output?
#include <stdio.h>
int main() {
printf("%d", sizeof('A'));
return 0;
1
2
4
Depends on compiler
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
int a = 5, b = 2;
printf("%d", a/b*b) ;
What will be the output?
int a = 5, b = 2;
printf("%d", a/b*b) ;
2
4
5
6
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?