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 / divakar
ouput will be c)a=101 (*p)=101
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How many identifiers are there in c?
What is c definition?
What is LINKED LIST? How can you access the last element in a linked list?
What are the preprocessor categories?
What the advantages of using Unions?
What are global variables?
What are the types of data structures in c?
What is maximum size of array in c?
What is array within structure?
What is restrict keyword in c?
What is the difference between arrays and pointers?
Are comments included during the compilation stage and placed in the EXE file as well?
What is the purpose of realloc()?
What is variable in c example?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above