C Programming :: Pointers
-
Which of the following statements correctly declare a function that receives a pointer to pointer to a pointer to a float and returns a pointer to a pointer to a pointer to a pointer to a float?
-
Point out the compile time error in the program given below.
#include stdio.h
int main()
{
int *x;
*x=100;
return 0;
}
-
Which of the statements is correct about the program?
#include
-
In the following program add a statement in the function fun() such that address of a gets stored in j?
#include
-
Which of the following statements correct about k used in the below statement?
char ****k; -
Which of the statements is correct about the program?
#include
int main() { int arr[3][3] = {1, 2, 3, 4}; printf("%d\n", *(*(*(arr)))); return 0; } -
Which statement will you add to the following program to ensure that the program outputs "FRESHERGATE" on execution?
#include
int main() { char s[] = "FRESHERGATE"; char t[25]; char *ps, *pt; ps = s; pt = t; while(*ps) *pt++ = *ps++; /* Add a statement here */ printf("%s\n", t); return 0; }