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 / manoj
B)100,100
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How was c created?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Explain modulus operator.
How do shell structures work?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is omp_num_threads?
How would you rename a function in C?
Explain can static variables be declared in a header file?
How do you override a defined macro?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Can the size of an array be declared at runtime?
What is the function of this pointer?
What is static identifier?
What is the difference between single charater constant and string constant?
Explain what is the heap?