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 / sathya.r
Ans: 100,100
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is the difference between char array and char pointer?
What is c system32 taskhostw exe?
What are operators in c?
Explain what are bus errors, memory faults, and core dumps?
How will you delete a node in DLL?
What is the difference between %d and %i?
What is %s and %d in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Why is c faster?
What the advantages of using Unions?
Why c is called a mid level programming language?
Is it possible to have a function as a parameter in another function?
What is && in c programming?