study the code:
#include<stdio.h>
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?
A)100,101 B)100,100 C)101,101 D)None of the
above
Answer Posted / biranchi ranjan parida
none of the above
pointer value of address increases it cant store its
original value
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain two-dimensional array.
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is the difference between memcpy and memmove?
How do you override a defined macro?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What are lookup tables in c?
What is default value of global variable in c?
Differentiate between a structure and a union.
How can I sort a linked list?
Differentiate between full, complete & perfect binary trees.
How do you print an address?
Differentiate between ordinary variable and pointer in c.
Is c procedural or object oriented?
Whats s or c mean?
What does struct node * mean?