
Raju_Soop_1
Authored by Palani Thanaraj K
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many different types of pointers exist?
One type only (for integers)
Two types (one for integers, one for floats/doubles)
Three types (pointers, arrays, dynamic allocation)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is related to pointer to an array concept in C
int a[]={1,2,2,22};
int *p;
p=a;
int (*p)[3];
int a[]={1,2,3};
p=*a;
int *p[3];
int a[]={1,2,2};
p=a;
int **a[];
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Is the NULL pointer same as an uninitialised pointer?
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this command do?.
Creates a pointer of type integer that is initially pointing to null.
Creates a pointer of type integer that is initially pointing to 0.
Creates a pointer in the heap
None of the answers are valid
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
int arri[] = {1, 2 ,3};
int *ptri = arri;
printf("%d ", sizeof(arri));
printf("%d ", sizeof(ptri));
return 0;
}
3 3
12 12
12 4
4 4
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the return type of malloc() or calloc()?
int *
int **
void *
void **
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following will copy the null-terminated string that is in array src into array dest?
dest = src;
dest == src;
strcpy(dest, src);
strcpy(src, dest);
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?
Similar Resources on Wayground
30 questions
Software Engineering Quiz
Quiz
•
University
29 questions
Kuis ke 5
Quiz
•
University
29 questions
4.1 4.2 Legislation and Standards
Quiz
•
11th Grade - University
37 questions
ôn tập giữa kì 2 lớp 11
Quiz
•
11th Grade - University
30 questions
IT security - 3
Quiz
•
9th Grade - University
31 questions
Quiz#8: Elements of Film Form
Quiz
•
University
30 questions
Sensor Knowledge Quiz
Quiz
•
5th Grade - University
32 questions
Microsoft Excel - Formulae
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade