Home > General Studies (Hindi) > Quizzes > C Programming Practice Test: Pointers and Arrays in C
C Programming Practice Test: Pointers and Arrays in C
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “What is the syntax for constant pointer to address (i.e., fixed pointer address)…”
Pointers and Arrays in C quiz on: Pointers and addresses, function arguments, arrays, address arithmetic, character pointers and functions, multidimensional arrays, pointer arrays initialization, command line arguments and complicated declarations. Arrays: Arrays are used to store multiple elements of the same data type in a contiguous block of memory. The index of an array represents the position of an element, starting from 0. Arrays are static, which means that their size is fixed once they are declared. Pointers: Pointers are variables that store the address of another variable or array... Show more
C Programming Practice Test: Pointers and Arrays in C
Time left 00:00
1 Questions

1. What will be the output of the following C code?
#include
int main()
{
char *a[1] = {"hello"};
printf("%s", a[0]);
return 0;
}