wats the diference btwen constant pointer and pointer to a
constant.pls give examples.
Answer Posted / jose j pothoor
I see ur explanation...then what would be the answer of
below program
void main()
{
int const *p=5;
printf("%d",++(*p));
}
a)5
b)6
c) Run time error
d) Compiler error
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What does nil mean in c?
What does volatile do?
Explain how can I convert a string to a number?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is a loop?
string reverse using recursion
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Can 'this' pointer by used in the constructor?
C program to find all possible outcomes of a dice?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is the difference between typedef struct and struct?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
How can I find out if there are characters available for reading?