Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
When was the first aircraft brought down by another in the course of World War I?
Which sea or ocean washes into the ports of Suriname?
Is it valid in C
P = P1 + P2 - P3
U can add a integer to a pointer like P1+10 is valid but P1 + P2 is not valid. But the thing you are trying to achieve can be achieved by the following way...
P = P1 + (P2 - P3)
assuming all pointers are of same type.
It is not valid.
Since the pointer points address, if we add 2 address then resulting address may point to different segment or address. I guess this is the reason for this restriction.
I recently came to know about Restricted pointers in C. Can anyone throw some light on how and when is it used?
Forgot Your Password?
2018 © Queryhome