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 / traphunter
a=101n(*p)=101n
answer c)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
write a programming in c to find the sum of all elements in an array through function.
Can a program have two main functions?
What does p mean in physics?
Can one function call another?
How do you list files in a directory?
Explain what math functions are available for integers? For floating point?
What is the size of array float a(10)?
What are dangling pointers? How are dangling pointers different from memory leaks?
using only #include
What is the mean of function?
Why c is a mother language?
Explain what is the stack?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is a pointer on a pointer in c programming language?