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 to delete a node from linked list w/o using collectons?
What are the advantages of using new operator as compared to the function malloc ()?
How is actual parameter different from the formal parameter?
what type of questions arrive in interview over c programming?
Is main a keyword in c?
Explain main function in c?
How many types of functions are there in c?
What are the application of void data type in c?
How can type-insensitive macros be created?
What is the difference between struct and union in C?
What is the size of enum in bytes?
Can we replace the struct function in tree syntax with a union?
What is register variable in c language?
What language is c written?
What is array in c with example?