Question: What is the output of C Program? 1 #include 2 #include 3 4 int main() { int a[] = { 1,2,3,4 }; int b[4] =
What is the output of C Program? 1 #include 2 #include 3 4 int main() { int a[] = { 1,2,3,4 }; int b[4] = { 5,6,7,8 }; { printf("%d, %d", a[2], b[3]); Nm 00 = 5 6 7 8 } Ltfen birini sein: a. Compiler error b. 2,7 c. 3,8 d. 1,5 Which of the following is a Scalar Data type? Ltfen birini sein: a. Pointer b. Float c. Array d. Union What is the output of this C code? 1 #include 2. 3 sint main() 4 { 5 int* ptr, a = 21; 6 6 ptr = &a; 7 *ptr += 1; 8 printf("%d,%d ", *ptr, a); 9 Nm N 000) Ltfen birini sein: a. 21,22 b. 21,21 c. 22,22 d. 22,21