091223 SASI AN
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); }
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
10 questions
Unit 7: Less is more (vocabulary)
Quiz
•
Professional Development
20 questions
Basics of Python Programming Unit-1
Quiz
•
University - Professi...
15 questions
SASI -1st year -DAY1-AN(19.12.23)
Quiz
•
Professional Development
15 questions
28 12 23 KLU FN CLUSTER 5
Quiz
•
Professional Development
11 questions
Present continuous
Quiz
•
Professional Development
20 questions
WIDE ANGLE BOOK 3 UNIT 4
Quiz
•
Professional Development
20 questions
Copy Correction & Feedback Quiz
Quiz
•
Professional Development
20 questions
Blockchain.com Quiz
Quiz
•
Professional Development
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for English
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
