KLU- CLUSTER -5 DAY-2
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Hard
CCC info@ccc.training
Used 1+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main(){ int a, b, c; char *p = 0; int *q = 0; double *r = 0; a = (int)(p + 1); b = (int)(q + 1); c = (int)(r + 1); printf("%d %d %d",a, b, c); return 0; }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { char *ptr; char string[] = "CampusConnect"; ptr = string; ptr += 6; printf("%s",ptr); return 0; }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { const int a = 5; const int *ptr; ptr = &a; *ptr = 10; printf("%d\n", a); return 0; }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { printf("%d", sizeof(void *)); return 0; }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main(){ char arr[15] = "pointer array"; int *ptr; ptr = arr; printf("%c",ptr[1]); return 0; }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { int a = 10, b = 6; int *ptr; ptr = &b; printf(" %d ", a **ptr); return 0; }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main(){ char array[5] = "Knot", *ptr, i, *ptr1; ptr = &array[1]; ptr1 = ptr + 3; *ptr1 = 101; for(i = 0; i < 4;i++) printf("%c", *ptr++); return 0; }
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
