
Embedded C Programming DA-1 (Part-1) - G2
Authored by Markkandan S 52305
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
OPEN ENDED QUESTION
2 mins • Ungraded
Register Number of the Student
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • Ungraded
Name of the Student
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about C data types is false?
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following expression? int a = 10, b = 20; printf("%d", a+++b);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code? int main() { int i = 5; do { i--; if(i<5) continue; printf("%d ", i); }while(i>0); }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code? int main() { int a[] = {1, 2, 3}; int *p[] = {&a[0], &a[1], &a[2]}; printf("%d ", *p[0]++); return 0; }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of below code? int main() { int arr[5] = {2, 4, 6, 8, 10}; int *ptr = &arr[2]; *ptr = 20; *(ptr - 1) = 10; printf("%d", arr[1]); 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
Already have an account?