Can math operations be performed on a void pointer?
No Answer is Posted For this Question
Be the First to Post Answer
c program to compute AREA under integral
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
What are the advantages of Macro over function?
Where in memory are my variables stored?
Give a method to count the number of ones in a 32 bit number?
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What are the three constants used in c?
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
int far *near * p; means
#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }