28 12 23 KLU FN CLUSTER 5
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Hard
CCC info@ccc.training
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main(void) { int arr[5] = { 1, 2, 3, 5, 7 }; int *ptr = (&arr + 1); printf("%d %d\n", *(arr + 1), *(ptr - 1)); return 0; }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { int a[][3] = {0, 1, 2, 3, 4, 5}; int (*ptr)[3] = a; printf("%d %d ", (*ptr)[0], (*ptr)[1]); ++ptr; printf("%d %d\n", (*ptr)[0], (*ptr)[1]); return 0; }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> void fun(char**); int main() { char *arr[] = { "bat", "cat", "fat", "hat", "mat", "pat" }; fun(arr); return 0; } void fun(char **p) { char *t; t = (p += sizeof(int))[-1]; printf("%s\n", t); }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { int arr[ ]={1.2, 2.4, 3.6, 4.8, 5}; int j, *ptr = arr; for(j = 0;j<5;j++) { printf("%d ", *arr); ++ptr; } }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { char s[] = {'a', 'b', 'c', '\n', 'c', '\0'}; char *p, *str, *str1; p = &s[3]; str = p; str1 = s; printf("%d", ++*p + ++*str1-32); return 0; }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { int arr[5] = { 1, 3, 5, 7, 11 }; int *ptr; ptr = &arr; printf("%d", *ptr + 1); }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { static char *arr[ ] = {"bike", "bus", "car", "van"}; char **ptr[ ] = {arr+3, arr+2, arr+1, arr}; char ***p; p = ptr; **++p; printf("%s",*--*++p + 2); }
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
15 questions
Possessive gerunds
Quiz
•
Professional Development
20 questions
Q Skills 3 L&S: Unit 1 Review Quiz
Quiz
•
University - Professi...
15 questions
SASI -1st year -DAY5-FN (22.12.23)
Quiz
•
Professional Development
15 questions
SASI -1st year -DAY6-AN (23.12.23)
Quiz
•
Professional Development
15 questions
VCE-ALPHA-18.11.2023-AN
Quiz
•
Professional Development
15 questions
20 dec 2023 SRMIST TRP CPS AN
Quiz
•
Professional Development
15 questions
TOEFL ITP Practice Quiz - session 1
Quiz
•
Professional Development
15 questions
Vocabulary
Quiz
•
Professional Development
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
