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 / sundar
the output is
a=100n(*p)=101n
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is a method in c?
What are the different types of control structures in programming?
What is a sequential access file?
What is a nested loop?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Write a program to print “hello world” without using semicolon?
How can variables be characterized?
Explain bit masking in c?
Explain what are the advantages and disadvantages of a heap?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
How can I insert or delete a line (or record) in the middle of a file?
Is swift based on c?
How can I find out the size of a file, prior to reading it in?
What are derived data types in c?
Difference between strcpy() and memcpy() function?