Looking for Basic Programming test answers and solutions? Browse our comprehensive collection of verified answers for Basic Programming at moodle.usthlearningsupport.vn.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
#include <stdio.h>int main() {
char *cities[] = {"Hanoi", "LangSon", "PhuQuoc"};
int **i = &cities[0];
printf("%c\n", **i);
return 0;
}
What is the output?
What is the output of the following code?
#include <stdio.h>int main() {
unsigned char x = 255;
x += 10;
printf("%u", x);
return 0;
}
What will be the output of the following C program?
#includeint main() {
for (int i = 0; i < 5; i--) {
printf("%d ", i);
}
return 0;
}
What will happen when this code is executed?
#include <stdio.h>int main() {
printf("Hello\0World");
return 0;
}
What will be the output of the following code snippet?
#include <stdio.h>int main() {
int a = 10;
int *ptr = &a;
printf("%d", *ptr);
return 0;
}
What is the output of the following C program?
#include <stdio.h>int main() {
printf("%zu", sizeof('A'));
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!