A pointer is

Home | Discussion Forum

A pointer is

View More Related Question

2) What will be the output of the following C code?

 #include <stdio.h>
int x = 0;
void main()
int *const ptr = &x;
printf("%p\n", ptr);
printf("%p\n ", ptr);

3) Can you combine the following two statements into one?

   char *p; 
p = (char*) malloc(100);

4) The operator used to get value at address stored in a pointer variable is

5) Comment on the following C statement.

  const int *ptr;

UP Gk Online Test


Study 2 Online Says....
Kindly log in or signup.