A pointer is

Home | Discussion Forum
Taiyari24Hour

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);
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

taiyari24hour.com

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