
VCE-ALPHA-25.11.2023-AN
Authored by CCC info@ccc.training
English
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[5]; printf("%d", sizeof(arr++)); return 0; } What will be the output of this program?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[] = {1, 2, 3, 4, 5}; printf("%p", arr + 3); return 0; } What will be printed by this program?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%d", arr[-2]); return 0; }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%p", &arr[2]); return 0; }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int nums[] = {1, 2, 3, 4, 5}; printf("%d", nums[2] - nums[1]); return 0; }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%d", arr[3]++); return 0; }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main() { int data[5] = {1, 2, 3, 4, 5}; printf("%d", data[2] * 2); return 0; }
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?