wat s the meaning of (int *)p +4;
Answers were Sorted based on User's Feedback
here 'p' must be a void pointer.
here (int*)p means that 'p' is type casted to point to the integer value.
that address is incremented by 4.
thank u
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / kathir
Type casting p to a pointer to integer.If p would have been
p=0x00000004 then this would increase the pointer by 4.
Is This Answer Correct ? | 6 Yes | 0 No |
What is main () in c language?
suppose there are five integers write a program to find larger among them without using if- else
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
explain what are pointers?
What does the error message "DGROUP exceeds 64K" mean?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What are compound statements?
can you change name of main()?how?
Difference between constant pointer and pointer to a constant.
What are the 4 types of programming language?
What is c standard library?
What do you mean by team??