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
What is the default value of local and global variables in c?
What is the symbol indicated the c-preprocessor?
Define circular linked list.
What was noalias and what ever happened to it?
List out few of the applications that make use of Multilinked Structures?
Explain what header files do I need in order to define the standard library functions I use?
What is difference between structure and union?
what are bit fields? What is the use of bit fields in a structure declaration?
How can my program discover the complete pathname to the executable from which it was invoked?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Can a function argument have default value?
Why malloc is faster than calloc?
What is property type c?
What is a spanning Tree?
why programs in c are running with out #include